java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.elasticsan.fluent.models.VolumeInner

public final class VolumeInner extends com.azure.core.management.ProxyResource
Response for Volume request.
  • Constructor Details

    • VolumeInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Resource metadata required by ARM RPC.
      Returns:
      the systemData value.
    • tags

      public Map<String,String> tags()
      Get the tags property: Azure resource tags.
      Returns:
      the tags value.
    • withTags

      public VolumeInner withTags(Map<String,String> tags)
      Set the tags property: Azure resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the VolumeInner object itself.
    • 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 VolumeInner withCreationData(SourceCreationData creationData)
      Set the creationData property: State of the operation on the resource.
      Parameters:
      creationData - the creationData value to set.
      Returns:
      the VolumeInner object itself.
    • sizeGiB

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

      public VolumeInner withSizeGiB(Long sizeGiB)
      Set the sizeGiB property: Volume size.
      Parameters:
      sizeGiB - the sizeGiB value to set.
      Returns:
      the VolumeInner 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.