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.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: 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.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
-
Nfs3Target
public Nfs3Target()Creates an instance of Nfs3Target class.
-
-
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.
-
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 Nfs3Target 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 Nfs3Target object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-