Class BlobNfsTarget
java.lang.Object
com.azure.resourcemanager.storagecache.models.BlobNfsTarget
Properties pertaining to the BlobNfsTarget.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontarget()
Get the target property: Resource ID of the storage container.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: Resource ID of the storage container.withUsageModel
(String usageModel) Set the usageModel property: Identifies the StorageCache usage model to be used for this storage target.
-
Constructor Details
-
BlobNfsTarget
public BlobNfsTarget()
-
-
Method Details
-
target
Get the target property: Resource ID of the storage container.- Returns:
- the target value.
-
withTarget
Set the target property: Resource ID of the storage container.- Parameters:
target
- the target value to set.- Returns:
- the BlobNfsTarget 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 BlobNfsTarget object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-