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