Class VolumeUpdate

java.lang.Object
com.azure.resourcemanager.elasticsan.models.VolumeUpdate

public final class VolumeUpdate extends Object
Response for Volume request.
  • Constructor Details

    • VolumeUpdate

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

    • tags

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

      public VolumeUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the VolumeUpdate object itself.
    • sizeGiB

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

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

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