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
    Creates an instance of BlobNfsTarget class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BlobNfsTarget

      public BlobNfsTarget()
      Creates an instance of BlobNfsTarget class.
  • Method Details

    • 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.
    • verificationTimer

      public Integer 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

      public BlobNfsTarget 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.
      Parameters:
      verificationTimer - the verificationTimer value to set.
      Returns:
      the BlobNfsTarget object itself.
    • writeBackTimer

      public Integer 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

      public BlobNfsTarget 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.
      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.