Class FilePathAvailabilityRequest

java.lang.Object
com.azure.resourcemanager.netapp.models.FilePathAvailabilityRequest

public final class FilePathAvailabilityRequest extends Object
File path availability request content - availability is based on the name and the subnetId.
  • Constructor Details

    • FilePathAvailabilityRequest

      public FilePathAvailabilityRequest()
  • Method Details

    • name

      public String name()
      Get the name property: File path to verify.
      Returns:
      the name value.
    • withName

      public FilePathAvailabilityRequest withName(String name)
      Set the name property: File path to verify.
      Parameters:
      name - the name value to set.
      Returns:
      the FilePathAvailabilityRequest object itself.
    • subnetId

      public String subnetId()
      Get the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
      Returns:
      the subnetId value.
    • withSubnetId

      public FilePathAvailabilityRequest withSubnetId(String subnetId)
      Set the subnetId property: The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the FilePathAvailabilityRequest object itself.
    • validate

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