Class VolumeModification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.VolumeModification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VolumeModification.Builder,VolumeModification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VolumeModification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
volumeId
public final String volumeId()
The ID of the volume.
- Returns:
- The ID of the volume.
-
modificationState
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 returnVolumeModificationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodificationStateAsString()
.- Returns:
- The current modification state. The modification state is null for unmodified volumes.
- See Also:
VolumeModificationState
-
modificationStateAsString
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 returnVolumeModificationState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodificationStateAsString()
.- Returns:
- The current modification state. The modification state is null for unmodified volumes.
- See Also:
VolumeModificationState
-
statusMessage
public final String statusMessage()
A status message about the modification progress or failure.
- Returns:
- A status message about the modification progress or failure.
-
targetSize
public final Integer targetSize()
The target size of the volume, in GiB.
- Returns:
- The target size of the volume, in GiB.
-
targetIops
public final Integer targetIops()
The target IOPS rate of the volume.
- Returns:
- The target IOPS rate of the volume.
-
targetVolumeType
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 returnVolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetVolumeTypeAsString()
.- Returns:
- The target EBS volume type of the volume.
- See Also:
VolumeType
-
targetVolumeTypeAsString
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 returnVolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetVolumeTypeAsString()
.- Returns:
- The target EBS volume type of the volume.
- See Also:
VolumeType
-
targetThroughput
public final Integer targetThroughput()
The target throughput of the volume, in MiB/s.
- Returns:
- The target throughput of the volume, in MiB/s.
-
targetMultiAttachEnabled
public final Boolean targetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
- Returns:
- The target setting for Amazon EBS Multi-Attach.
-
originalSize
public final Integer originalSize()
The original size of the volume, in GiB.
- Returns:
- The original size of the volume, in GiB.
-
originalIops
public final Integer originalIops()
The original IOPS rate of the volume.
- Returns:
- The original IOPS rate of the volume.
-
originalVolumeType
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 returnVolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoriginalVolumeTypeAsString()
.- Returns:
- The original EBS volume type of the volume.
- See Also:
VolumeType
-
originalVolumeTypeAsString
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 returnVolumeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoriginalVolumeTypeAsString()
.- Returns:
- The original EBS volume type of the volume.
- See Also:
VolumeType
-
originalThroughput
public final Integer originalThroughput()
The original throughput of the volume, in MiB/s.
- Returns:
- The original throughput of the volume, in MiB/s.
-
originalMultiAttachEnabled
public final Boolean originalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
- Returns:
- The original setting for Amazon EBS Multi-Attach.
-
progress
public final Long progress()
The modification progress, from 0 to 100 percent complete.
- Returns:
- The modification progress, from 0 to 100 percent complete.
-
startTime
public final Instant startTime()
The modification start time.
- Returns:
- The modification start time.
-
endTime
public final Instant endTime()
The modification completion or failure time.
- Returns:
- The modification completion or failure time.
-
toBuilder
public VolumeModification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VolumeModification.Builder,VolumeModification>
-
builder
public static VolumeModification.Builder builder()
-
serializableBuilderClass
public static Class<? extends VolumeModification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-