@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) |
boolean |
equalsBySdkFields(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()
Returns a string representation of this object.
|
String |
volumeARN()
The Amazon Resource Name (ARN) for the storage volume.
|
String |
volumeAttachmentStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
|
String |
volumeId()
The unique identifier assigned to the volume.
|
Long |
volumeSizeInBytes()
The size of the volume in bytes.
|
String |
volumeType()
One of the VolumeType enumeration values describing the type of the volume.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final String gatewayARN()
public final 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 final String volumeType()
One of the VolumeType enumeration values describing the type of the volume.
public final 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 final String volumeAttachmentStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
public VolumeInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VolumeInfo.Builder,VolumeInfo>public static VolumeInfo.Builder builder()
public static Class<? extends VolumeInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.