@Generated(value="software.amazon.awssdk:codegen") public final class VolumeInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeInfo.Builder,VolumeInfo>
Describes a storage volume object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VolumeInfo.Builder |
builder() |
boolean |
equals(Object obj) |
String |
gatewayARN()
Returns the value of the GatewayARN property for this object.
|
String |
gatewayId()
The unique identifier assigned to your gateway during activation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeInfo.Builder> |
serializableBuilderClass() |
VolumeInfo.Builder |
toBuilder() |
String |
toString() |
String |
volumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
String |
volumeAttachmentStatus()
Returns the value of the VolumeAttachmentStatus property for this object.
|
String |
volumeId()
The unique identifier assigned to the volume.
|
Long |
volumeSizeInBytes()
The size of the volume in bytes.
|
String |
volumeType()
Returns the value of the VolumeType property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String volumeARN()
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String volumeId()
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String gatewayARN()
public String gatewayId()
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String volumeType()
public Long volumeSizeInBytes()
The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public String volumeAttachmentStatus()
public VolumeInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VolumeInfo.Builder,VolumeInfo>public static VolumeInfo.Builder builder()
public static Class<? extends VolumeInfo.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.