Class SubvolumeProperties

java.lang.Object
com.azure.resourcemanager.netapp.fluent.models.SubvolumeProperties

public final class SubvolumeProperties extends Object
This represents path associated with the subvolume.
  • Constructor Details

    • SubvolumeProperties

      public SubvolumeProperties()
  • Method Details

    • path

      public String path()
      Get the path property: path

      Path to the subvolume.

      Returns:
      the path value.
    • withPath

      public SubvolumeProperties withPath(String path)
      Set the path property: path

      Path to the subvolume.

      Parameters:
      path - the path value to set.
      Returns:
      the SubvolumeProperties object itself.
    • size

      public Long size()
      Get the size property: size

      Truncate subvolume to the provided size in bytes.

      Returns:
      the size value.
    • withSize

      public SubvolumeProperties withSize(Long size)
      Set the size property: size

      Truncate subvolume to the provided size in bytes.

      Parameters:
      size - the size value to set.
      Returns:
      the SubvolumeProperties object itself.
    • parentPath

      public String parentPath()
      Get the parentPath property: name

      parent path to the subvolume.

      Returns:
      the parentPath value.
    • withParentPath

      public SubvolumeProperties withParentPath(String parentPath)
      Set the parentPath property: name

      parent path to the subvolume.

      Parameters:
      parentPath - the parentPath value to set.
      Returns:
      the SubvolumeProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Azure lifecycle management.
      Returns:
      the provisioningState value.
    • validate

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