Class VolumeProperties

java.lang.Object
com.azure.resourcemanager.elasticsan.fluent.models.VolumeProperties

public final class VolumeProperties extends Object
Volume response properties.
  • Constructor Details

    • VolumeProperties

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

    • volumeId

      public String volumeId()
      Get the volumeId property: Unique Id of the volume in GUID format.
      Returns:
      the volumeId value.
    • creationData

      public SourceCreationData creationData()
      Get the creationData property: State of the operation on the resource.
      Returns:
      the creationData value.
    • withCreationData

      public VolumeProperties withCreationData(SourceCreationData creationData)
      Set the creationData property: State of the operation on the resource.
      Parameters:
      creationData - the creationData value to set.
      Returns:
      the VolumeProperties object itself.
    • sizeGiB

      public Long sizeGiB()
      Get the sizeGiB property: Volume size.
      Returns:
      the sizeGiB value.
    • withSizeGiB

      public VolumeProperties withSizeGiB(Long sizeGiB)
      Set the sizeGiB property: Volume size.
      Parameters:
      sizeGiB - the sizeGiB value to set.
      Returns:
      the VolumeProperties object itself.
    • storageTarget

      public IscsiTargetInfo storageTarget()
      Get the storageTarget property: Storage target information.
      Returns:
      the storageTarget value.
    • validate

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