@Generated(value="software.amazon.awssdk:codegen") public final class VolumeModification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeModification.Builder,VolumeModification>
Describes the modification status of an EBS volume.
If the volume has never been modified, some element values will be null.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeModification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VolumeModification.Builder |
builder() |
Instant |
endTime()
The modification completion or failure time.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
VolumeModificationState |
modificationState()
The current modification state.
|
String |
modificationStateAsString()
The current modification state.
|
Integer |
originalIops()
The original IOPS rate of the volume.
|
Integer |
originalSize()
The original size of the volume.
|
VolumeType |
originalVolumeType()
The original EBS volume type of the volume.
|
String |
originalVolumeTypeAsString()
The original EBS volume type of the volume.
|
Long |
progress()
The modification progress, from 0 to 100 percent complete.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VolumeModification.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The modification start time.
|
String |
statusMessage()
A status message about the modification progress or failure.
|
Integer |
targetIops()
The target IOPS rate of the volume.
|
Integer |
targetSize()
The target size of the volume, in GiB.
|
VolumeType |
targetVolumeType()
The target EBS volume type of the volume.
|
String |
targetVolumeTypeAsString()
The target EBS volume type of the volume.
|
VolumeModification.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
volumeId()
The ID of the volume.
|
copypublic String volumeId()
The ID of the volume.
public VolumeModificationState modificationState()
The current modification state. The modification state is null for unmodified volumes.
If the service returns an enum value that is not available in the current SDK version, modificationState
will return VolumeModificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from modificationStateAsString().
VolumeModificationStatepublic String modificationStateAsString()
The current modification state. The modification state is null for unmodified volumes.
If the service returns an enum value that is not available in the current SDK version, modificationState
will return VolumeModificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from modificationStateAsString().
VolumeModificationStatepublic String statusMessage()
A status message about the modification progress or failure.
public Integer targetSize()
The target size of the volume, in GiB.
public Integer targetIops()
The target IOPS rate of the volume.
public VolumeType targetVolumeType()
The target EBS volume type of the volume.
If the service returns an enum value that is not available in the current SDK version, targetVolumeType
will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetVolumeTypeAsString().
VolumeTypepublic String targetVolumeTypeAsString()
The target EBS volume type of the volume.
If the service returns an enum value that is not available in the current SDK version, targetVolumeType
will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetVolumeTypeAsString().
VolumeTypepublic Integer originalSize()
The original size of the volume.
public Integer originalIops()
The original IOPS rate of the volume.
public VolumeType originalVolumeType()
The original EBS volume type of the volume.
If the service returns an enum value that is not available in the current SDK version,
originalVolumeType will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from originalVolumeTypeAsString().
VolumeTypepublic String originalVolumeTypeAsString()
The original EBS volume type of the volume.
If the service returns an enum value that is not available in the current SDK version,
originalVolumeType will return VolumeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from originalVolumeTypeAsString().
VolumeTypepublic Long progress()
The modification progress, from 0 to 100 percent complete.
public Instant startTime()
The modification start time.
public Instant endTime()
The modification completion or failure time.
public VolumeModification.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<VolumeModification.Builder,VolumeModification>public static VolumeModification.Builder builder()
public static Class<? extends VolumeModification.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.