Class VolumeProperties
java.lang.Object
com.azure.resourcemanager.elasticsan.fluent.models.VolumeProperties
Volume response properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the creationData property: State of the operation on the resource.sizeGiB()
Get the sizeGiB property: Volume size.Get the storageTarget property: Storage target information.void
validate()
Validates the instance.volumeId()
Get the volumeId property: Unique Id of the volume in GUID format.withCreationData
(SourceCreationData creationData) Set the creationData property: State of the operation on the resource.withSizeGiB
(Long sizeGiB) Set the sizeGiB property: Volume size.
-
Constructor Details
-
VolumeProperties
public VolumeProperties()Creates an instance of VolumeProperties class.
-
-
Method Details
-
volumeId
Get the volumeId property: Unique Id of the volume in GUID format.- Returns:
- the volumeId value.
-
creationData
Get the creationData property: State of the operation on the resource.- Returns:
- the creationData value.
-
withCreationData
Set the creationData property: State of the operation on the resource.- Parameters:
creationData
- the creationData value to set.- Returns:
- the VolumeProperties 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 VolumeProperties object itself.
-
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.
-