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.Builder
builder()
final Instant
endTime()
The modification completion or failure time.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final VolumeModificationState
The current modification state.final String
The current modification state.final Integer
The original IOPS rate of the volume.final Boolean
The original setting for Amazon EBS Multi-Attach.final Integer
The original size of the volume, in GiB.final Integer
The original throughput of the volume, in MiB/s.final VolumeType
The original EBS volume type of the volume.final String
The original EBS volume type of the volume.final Long
progress()
The modification progress, from 0 to 100 percent complete.static Class
<? extends VolumeModification.Builder> final Instant
The modification start time.final String
A status message about the modification progress or failure.final Integer
The target IOPS rate of the volume.final Boolean
The target setting for Amazon EBS Multi-Attach.final Integer
The target size of the volume, in GiB.final Integer
The target throughput of the volume, in MiB/s.final VolumeType
The target EBS volume type of the volume.final String
The 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 String
toString()
Returns a string representation of this object.final String
volumeId()
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,
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:
-
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:
-
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,
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:
-
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:
-
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,
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:
-
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:
-
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<VolumeModification.Builder,
VolumeModification> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-