@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) |
boolean |
equalsBySdkFields(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.
|
Boolean |
originalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
|
Integer |
originalSize()
The original size of the volume, in GiB.
|
Integer |
originalThroughput()
The original throughput of the volume, in MiB/s.
|
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.
|
Boolean |
targetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
|
Integer |
targetSize()
The target size of the volume, in GiB.
|
Integer |
targetThroughput()
The target throughput of the volume, in MiB/s.
|
VolumeType |
targetVolumeType()
The target EBS volume type of the volume.
|
String |
targetVolumeTypeAsString()
The target EBS volume type of the volume.
|
VolumeModification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeId()
The ID of the volume.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String volumeId()
The ID of the volume.
public final 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()
.
VolumeModificationState
public final 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()
.
VolumeModificationState
public final String statusMessage()
A status message about the modification progress or failure.
public final Integer targetSize()
The target size of the volume, in GiB.
public final Integer targetIops()
The target IOPS rate of the volume.
public final 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()
.
VolumeType
public final 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()
.
VolumeType
public final Integer targetThroughput()
The target throughput of the volume, in MiB/s.
public final Boolean targetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
public final Integer originalSize()
The original size of the volume, in GiB.
public final Integer originalIops()
The original IOPS rate of the volume.
public final 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()
.
VolumeType
public final 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()
.
VolumeType
public final Integer originalThroughput()
The original throughput of the volume, in MiB/s.
public final Boolean originalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
public final Long progress()
The modification progress, from 0 to 100 percent complete.
public final Instant startTime()
The modification start time.
public final Instant endTime()
The modification completion or failure time.
public VolumeModification.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<VolumeModification.Builder,VolumeModification>
public static VolumeModification.Builder builder()
public static Class<? extends VolumeModification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.