Class PersistentDisk

java.lang.Object
com.azure.resourcemanager.appplatform.models.PersistentDisk

public final class PersistentDisk extends Object
Persistent disk payload.
  • Constructor Details

    • PersistentDisk

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

    • sizeInGB

      public Integer sizeInGB()
      Get the sizeInGB property: Size of the persistent disk in GB.
      Returns:
      the sizeInGB value.
    • withSizeInGB

      public PersistentDisk withSizeInGB(Integer sizeInGB)
      Set the sizeInGB property: Size of the persistent disk in GB.
      Parameters:
      sizeInGB - the sizeInGB value to set.
      Returns:
      the PersistentDisk object itself.
    • usedInGB

      public Integer usedInGB()
      Get the usedInGB property: Size of the used persistent disk in GB.
      Returns:
      the usedInGB value.
    • mountPath

      public String mountPath()
      Get the mountPath property: Mount path of the persistent disk.
      Returns:
      the mountPath value.
    • withMountPath

      public PersistentDisk withMountPath(String mountPath)
      Set the mountPath property: Mount path of the persistent disk.
      Parameters:
      mountPath - the mountPath value to set.
      Returns:
      the PersistentDisk object itself.
    • validate

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