@Generated(value="software.amazon.awssdk:codegen") public final class VolumeModification extends Object implements 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()
Modification completion or failure time.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
VolumeModificationState |
modificationState()
Current state of modification.
|
String |
modificationStateAsString()
Current state of modification.
|
Integer |
originalIops()
Original IOPS rate of the volume being modified.
|
Integer |
originalSize()
Original size of the volume being modified.
|
VolumeType |
originalVolumeType()
Original EBS volume type of the volume being modified.
|
String |
originalVolumeTypeAsString()
Original EBS volume type of the volume being modified.
|
Long |
progress()
Modification progress from 0 to 100%.
|
static Class<? extends VolumeModification.Builder> |
serializableBuilderClass() |
Instant |
startTime()
Modification start time
|
String |
statusMessage()
Generic status message on modification progress or failure.
|
Integer |
targetIops()
Target IOPS rate of the volume being modified.
|
Integer |
targetSize()
Target size of the volume being modified.
|
VolumeType |
targetVolumeType()
Target EBS volume type of the volume being modified.
|
String |
targetVolumeTypeAsString()
Target EBS volume type of the volume being modified.
|
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()
ID of the volume being modified.
|
copy
public String volumeId()
ID of the volume being modified.
public VolumeModificationState modificationState()
Current state of modification. 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 String modificationStateAsString()
Current state of modification. 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 String statusMessage()
Generic status message on modification progress or failure.
public Integer targetSize()
Target size of the volume being modified.
public Integer targetIops()
Target IOPS rate of the volume being modified.
public VolumeType targetVolumeType()
Target EBS volume type of the volume being modified.
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 String targetVolumeTypeAsString()
Target EBS volume type of the volume being modified.
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 Integer originalSize()
Original size of the volume being modified.
public Integer originalIops()
Original IOPS rate of the volume being modified.
public VolumeType originalVolumeType()
Original EBS volume type of the volume being modified.
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 String originalVolumeTypeAsString()
Original EBS volume type of the volume being modified.
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 Long progress()
Modification progress from 0 to 100%.
public Instant startTime()
Modification start time
public Instant endTime()
Modification completion or failure time.
public VolumeModification.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.