Class Nfs3Target
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.Nfs3Target
-
public final class Nfs3Target extends Object
Properties pertaining to the Nfs3Target.
-
-
Constructor Summary
Constructors Constructor Description Nfs3Target()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
target()
Get the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).String
usageModel()
Get the usageModel property: Identifies the StorageCache usage model to be used for this storage target.void
validate()
Validates the instance.Nfs3Target
withTarget(String target)
Set the target property: IP address or host name of an NFSv3 host (e.g., 10.0.44.44).Nfs3Target
withUsageModel(String usageModel)
Set the usageModel property: Identifies the StorageCache usage model to be used for this storage target.
-
-
-
Method Detail
-
target
public String 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
public Nfs3Target withTarget(String target)
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
public String usageModel()
Get the usageModel property: Identifies the StorageCache usage model to be used for this storage target.- Returns:
- the usageModel value.
-
withUsageModel
public Nfs3Target withUsageModel(String usageModel)
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.
-
-