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.Get the verificationTimer property: Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.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.withVerificationTimer
(Integer verificationTimer) Set the verificationTimer property: Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.withWriteBackTimer
(Integer writeBackTimer) Set the writeBackTimer property: Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.Get the writeBackTimer property: Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.
-
Constructor Details
-
BlobNfsTarget
public BlobNfsTarget()Creates an instance of BlobNfsTarget class.
-
-
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.
-
verificationTimer
Get the verificationTimer property: Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.- Returns:
- the verificationTimer value.
-
withVerificationTimer
Set the verificationTimer property: Amount of time (in seconds) the cache waits before it checks the back-end storage for file updates.- Parameters:
verificationTimer
- the verificationTimer value to set.- Returns:
- the BlobNfsTarget object itself.
-
writeBackTimer
Get the writeBackTimer property: Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.- Returns:
- the writeBackTimer value.
-
withWriteBackTimer
Set the writeBackTimer property: Amount of time (in seconds) the cache waits after the last file change before it copies the changed file to back-end storage.- Parameters:
writeBackTimer
- the writeBackTimer value to set.- Returns:
- the BlobNfsTarget object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-