Class VolumeModification
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VolumeModification.Builderbuilder()final InstantendTime()The modification completion or failure time.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final VolumeModificationStateThe current modification state.final StringThe current modification state.final IntegerThe original IOPS rate of the volume.final BooleanThe original setting for Amazon EBS Multi-Attach.final IntegerThe original size of the volume, in GiB.final IntegerThe original throughput of the volume, in MiB/s.final VolumeTypeThe original EBS volume type of the volume.final StringThe original EBS volume type of the volume.final Longprogress()The modification progress, from 0 to 100 percent complete.static Class<? extends VolumeModification.Builder> final InstantThe modification start time.final StringA status message about the modification progress or failure.final IntegerThe target IOPS rate of the volume.final BooleanThe target setting for Amazon EBS Multi-Attach.final IntegerThe target size of the volume, in GiB.final IntegerThe target throughput of the volume, in MiB/s.final VolumeTypeThe target EBS volume type of the volume.final StringThe target EBS volume type of the volume.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringvolumeId()The ID of the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
volumeId
The ID of the volume.
- Returns:
- The ID of the volume.
-
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,
modificationStatewill 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:
-
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,
modificationStatewill 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:
-
statusMessage
A status message about the modification progress or failure.
- Returns:
- A status message about the modification progress or failure.
-
targetSize
The target size of the volume, in GiB.
- Returns:
- The target size of the volume, in GiB.
-
targetIops
The target IOPS rate of the volume.
- Returns:
- The target IOPS rate of the volume.
-
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:
-
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:
-
targetThroughput
The target throughput of the volume, in MiB/s.
- Returns:
- The target throughput of the volume, in MiB/s.
-
targetMultiAttachEnabled
The target setting for Amazon EBS Multi-Attach.
- Returns:
- The target setting for Amazon EBS Multi-Attach.
-
originalSize
The original size of the volume, in GiB.
- Returns:
- The original size of the volume, in GiB.
-
originalIops
The original IOPS rate of the volume.
- Returns:
- The original IOPS rate of the volume.
-
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:
-
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:
-
originalThroughput
The original throughput of the volume, in MiB/s.
- Returns:
- The original throughput of the volume, in MiB/s.
-
originalMultiAttachEnabled
The original setting for Amazon EBS Multi-Attach.
- Returns:
- The original setting for Amazon EBS Multi-Attach.
-
progress
The modification progress, from 0 to 100 percent complete.
- Returns:
- The modification progress, from 0 to 100 percent complete.
-
startTime
The modification start time.
- Returns:
- The modification start time.
-
endTime
The modification completion or failure time.
- Returns:
- The modification completion or failure time.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<VolumeModification.Builder,VolumeModification> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-