Class VolumeUpdate
java.lang.Object
com.azure.resourcemanager.elasticsan.models.VolumeUpdate
Response for Volume request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsizeGiB()
Get the sizeGiB property: Volume size.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withSizeGiB
(Long sizeGiB) Set the sizeGiB property: Volume size.Set the tags property: Resource tags.
-
Constructor Details
-
VolumeUpdate
public VolumeUpdate()Creates an instance of VolumeUpdate class.
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the VolumeUpdate object itself.
-
sizeGiB
Get the sizeGiB property: Volume size.- Returns:
- the sizeGiB value.
-
withSizeGiB
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.
-