Class VolumeInner
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 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.com.azure.core.management.SystemData
Get the systemData property: Resource metadata required by ARM RPC.tags()
Get the tags property: Azure resource tags.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.Set the tags property: Azure resource tags.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
Get the tags property: Azure resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Azure resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the VolumeInner object itself.
-
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 VolumeInner 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 VolumeInner 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.
-