Class Nfs3Target
java.lang.Object
com.azure.resourcemanager.storagecache.models.Nfs3Target
Properties pertaining to the Nfs3Target.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontarget()
Get the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).Get the usageModel property: Identifies the StorageCache usage model to be used for this storage target.void
validate()
Validates the instance.withTarget
(String target) Set the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).withUsageModel
(String usageModel) Set the usageModel property: Identifies the StorageCache usage model to be used for this storage target.
-
Constructor Details
-
Nfs3Target
public Nfs3Target()
-
-
Method Details
-
target
Get the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).- Returns:
- the target value.
-
withTarget
Set the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).- Parameters:
target
- the target value to set.- Returns:
- the Nfs3Target object itself.
-
usageModel
Get the usageModel property: Identifies the StorageCache usage model to be used for this storage target.- Returns:
- the usageModel value.
-
withUsageModel
Set the usageModel property: Identifies the StorageCache usage model to be used for this storage target.- Parameters:
usageModel
- the usageModel value to set.- Returns:
- the Nfs3Target object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-