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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVolumeModification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeModification.Builderbuilder()InstantendTime()The modification completion or failure time.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()VolumeModificationStatemodificationState()The current modification state.StringmodificationStateAsString()The current modification state.IntegeroriginalIops()The original IOPS rate of the volume.BooleanoriginalMultiAttachEnabled()The original setting for Amazon EBS Multi-Attach.IntegeroriginalSize()The original size of the volume, in GiB.IntegeroriginalThroughput()The original throughput of the volume, in MiB/s.VolumeTypeoriginalVolumeType()The original EBS volume type of the volume.StringoriginalVolumeTypeAsString()The original EBS volume type of the volume.Longprogress()The modification progress, from 0 to 100 percent complete.List<SdkField<?>>sdkFields()static Class<? extends VolumeModification.Builder>serializableBuilderClass()InstantstartTime()The modification start time.StringstatusMessage()A status message about the modification progress or failure.IntegertargetIops()The target IOPS rate of the volume.BooleantargetMultiAttachEnabled()The target setting for Amazon EBS Multi-Attach.IntegertargetSize()The target size of the volume, in GiB.IntegertargetThroughput()The target throughput of the volume, in MiB/s.VolumeTypetargetVolumeType()The target EBS volume type of the volume.StringtargetVolumeTypeAsString()The target EBS volume type of the volume.VolumeModification.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvolumeId()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.
If the service returns an enum value that is not available in the current SDK version,
modificationStatewill returnVolumeModificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodificationStateAsString().- Returns:
- The current modification state.
- See Also:
VolumeModificationState
-
modificationStateAsString
public final String modificationStateAsString()
The current modification state.
If the service returns an enum value that is not available in the current SDK version,
modificationStatewill returnVolumeModificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodificationStateAsString().- Returns:
- The current modification state.
- 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,
targetVolumeTypewill 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,
targetVolumeTypewill 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,
originalVolumeTypewill 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,
originalVolumeTypewill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-