java.lang.Object
com.azure.resourcemanager.storagecache.models.Nfs3Target

public final class Nfs3Target extends Object
Properties pertaining to the Nfs3Target.
  • Constructor Details

    • Nfs3Target

      public Nfs3Target()
  • Method Details

    • target

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

      public Nfs3Target withTarget(String target)
      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

      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 Nfs3Target 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 Nfs3Target object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.