@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeModification extends Object implements Serializable, Cloneable
Describes the modification status of an EBS volume.
Constructor and Description |
---|
VolumeModification() |
Modifier and Type | Method and Description |
---|---|
VolumeModification |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The modification completion or failure time.
|
String |
getModificationState()
The current modification state.
|
Integer |
getOriginalIops()
The original IOPS rate of the volume.
|
Boolean |
getOriginalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
|
Integer |
getOriginalSize()
The original size of the volume, in GiB.
|
Integer |
getOriginalThroughput()
The original throughput of the volume, in MiB/s.
|
String |
getOriginalVolumeType()
The original EBS volume type of the volume.
|
Long |
getProgress()
The modification progress, from 0 to 100 percent complete.
|
Date |
getStartTime()
The modification start time.
|
String |
getStatusMessage()
A status message about the modification progress or failure.
|
Integer |
getTargetIops()
The target IOPS rate of the volume.
|
Boolean |
getTargetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
|
Integer |
getTargetSize()
The target size of the volume, in GiB.
|
Integer |
getTargetThroughput()
The target throughput of the volume, in MiB/s.
|
String |
getTargetVolumeType()
The target EBS volume type of the volume.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
Boolean |
isOriginalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
|
Boolean |
isTargetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
|
void |
setEndTime(Date endTime)
The modification completion or failure time.
|
void |
setModificationState(String modificationState)
The current modification state.
|
void |
setModificationState(VolumeModificationState modificationState)
The current modification state.
|
void |
setOriginalIops(Integer originalIops)
The original IOPS rate of the volume.
|
void |
setOriginalMultiAttachEnabled(Boolean originalMultiAttachEnabled)
The original setting for Amazon EBS Multi-Attach.
|
void |
setOriginalSize(Integer originalSize)
The original size of the volume, in GiB.
|
void |
setOriginalThroughput(Integer originalThroughput)
The original throughput of the volume, in MiB/s.
|
void |
setOriginalVolumeType(String originalVolumeType)
The original EBS volume type of the volume.
|
void |
setOriginalVolumeType(VolumeType originalVolumeType)
The original EBS volume type of the volume.
|
void |
setProgress(Long progress)
The modification progress, from 0 to 100 percent complete.
|
void |
setStartTime(Date startTime)
The modification start time.
|
void |
setStatusMessage(String statusMessage)
A status message about the modification progress or failure.
|
void |
setTargetIops(Integer targetIops)
The target IOPS rate of the volume.
|
void |
setTargetMultiAttachEnabled(Boolean targetMultiAttachEnabled)
The target setting for Amazon EBS Multi-Attach.
|
void |
setTargetSize(Integer targetSize)
The target size of the volume, in GiB.
|
void |
setTargetThroughput(Integer targetThroughput)
The target throughput of the volume, in MiB/s.
|
void |
setTargetVolumeType(String targetVolumeType)
The target EBS volume type of the volume.
|
void |
setTargetVolumeType(VolumeType targetVolumeType)
The target EBS volume type of the volume.
|
void |
setVolumeId(String volumeId)
The ID of the volume.
|
String |
toString()
Returns a string representation of this object.
|
VolumeModification |
withEndTime(Date endTime)
The modification completion or failure time.
|
VolumeModification |
withModificationState(String modificationState)
The current modification state.
|
VolumeModification |
withModificationState(VolumeModificationState modificationState)
The current modification state.
|
VolumeModification |
withOriginalIops(Integer originalIops)
The original IOPS rate of the volume.
|
VolumeModification |
withOriginalMultiAttachEnabled(Boolean originalMultiAttachEnabled)
The original setting for Amazon EBS Multi-Attach.
|
VolumeModification |
withOriginalSize(Integer originalSize)
The original size of the volume, in GiB.
|
VolumeModification |
withOriginalThroughput(Integer originalThroughput)
The original throughput of the volume, in MiB/s.
|
VolumeModification |
withOriginalVolumeType(String originalVolumeType)
The original EBS volume type of the volume.
|
VolumeModification |
withOriginalVolumeType(VolumeType originalVolumeType)
The original EBS volume type of the volume.
|
VolumeModification |
withProgress(Long progress)
The modification progress, from 0 to 100 percent complete.
|
VolumeModification |
withStartTime(Date startTime)
The modification start time.
|
VolumeModification |
withStatusMessage(String statusMessage)
A status message about the modification progress or failure.
|
VolumeModification |
withTargetIops(Integer targetIops)
The target IOPS rate of the volume.
|
VolumeModification |
withTargetMultiAttachEnabled(Boolean targetMultiAttachEnabled)
The target setting for Amazon EBS Multi-Attach.
|
VolumeModification |
withTargetSize(Integer targetSize)
The target size of the volume, in GiB.
|
VolumeModification |
withTargetThroughput(Integer targetThroughput)
The target throughput of the volume, in MiB/s.
|
VolumeModification |
withTargetVolumeType(String targetVolumeType)
The target EBS volume type of the volume.
|
VolumeModification |
withTargetVolumeType(VolumeType targetVolumeType)
The target EBS volume type of the volume.
|
VolumeModification |
withVolumeId(String volumeId)
The ID of the volume.
|
public void setVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public String getVolumeId()
The ID of the volume.
public VolumeModification withVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public void setModificationState(String modificationState)
The current modification state.
modificationState
- The current modification state.VolumeModificationState
public String getModificationState()
The current modification state.
VolumeModificationState
public VolumeModification withModificationState(String modificationState)
The current modification state.
modificationState
- The current modification state.VolumeModificationState
public void setModificationState(VolumeModificationState modificationState)
The current modification state.
modificationState
- The current modification state.VolumeModificationState
public VolumeModification withModificationState(VolumeModificationState modificationState)
The current modification state.
modificationState
- The current modification state.VolumeModificationState
public void setStatusMessage(String statusMessage)
A status message about the modification progress or failure.
statusMessage
- A status message about the modification progress or failure.public String getStatusMessage()
A status message about the modification progress or failure.
public VolumeModification withStatusMessage(String statusMessage)
A status message about the modification progress or failure.
statusMessage
- A status message about the modification progress or failure.public void setTargetSize(Integer targetSize)
The target size of the volume, in GiB.
targetSize
- The target size of the volume, in GiB.public Integer getTargetSize()
The target size of the volume, in GiB.
public VolumeModification withTargetSize(Integer targetSize)
The target size of the volume, in GiB.
targetSize
- The target size of the volume, in GiB.public void setTargetIops(Integer targetIops)
The target IOPS rate of the volume.
targetIops
- The target IOPS rate of the volume.public Integer getTargetIops()
The target IOPS rate of the volume.
public VolumeModification withTargetIops(Integer targetIops)
The target IOPS rate of the volume.
targetIops
- The target IOPS rate of the volume.public void setTargetVolumeType(String targetVolumeType)
The target EBS volume type of the volume.
targetVolumeType
- The target EBS volume type of the volume.VolumeType
public String getTargetVolumeType()
The target EBS volume type of the volume.
VolumeType
public VolumeModification withTargetVolumeType(String targetVolumeType)
The target EBS volume type of the volume.
targetVolumeType
- The target EBS volume type of the volume.VolumeType
public void setTargetVolumeType(VolumeType targetVolumeType)
The target EBS volume type of the volume.
targetVolumeType
- The target EBS volume type of the volume.VolumeType
public VolumeModification withTargetVolumeType(VolumeType targetVolumeType)
The target EBS volume type of the volume.
targetVolumeType
- The target EBS volume type of the volume.VolumeType
public void setTargetThroughput(Integer targetThroughput)
The target throughput of the volume, in MiB/s.
targetThroughput
- The target throughput of the volume, in MiB/s.public Integer getTargetThroughput()
The target throughput of the volume, in MiB/s.
public VolumeModification withTargetThroughput(Integer targetThroughput)
The target throughput of the volume, in MiB/s.
targetThroughput
- The target throughput of the volume, in MiB/s.public void setTargetMultiAttachEnabled(Boolean targetMultiAttachEnabled)
The target setting for Amazon EBS Multi-Attach.
targetMultiAttachEnabled
- The target setting for Amazon EBS Multi-Attach.public Boolean getTargetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
public VolumeModification withTargetMultiAttachEnabled(Boolean targetMultiAttachEnabled)
The target setting for Amazon EBS Multi-Attach.
targetMultiAttachEnabled
- The target setting for Amazon EBS Multi-Attach.public Boolean isTargetMultiAttachEnabled()
The target setting for Amazon EBS Multi-Attach.
public void setOriginalSize(Integer originalSize)
The original size of the volume, in GiB.
originalSize
- The original size of the volume, in GiB.public Integer getOriginalSize()
The original size of the volume, in GiB.
public VolumeModification withOriginalSize(Integer originalSize)
The original size of the volume, in GiB.
originalSize
- The original size of the volume, in GiB.public void setOriginalIops(Integer originalIops)
The original IOPS rate of the volume.
originalIops
- The original IOPS rate of the volume.public Integer getOriginalIops()
The original IOPS rate of the volume.
public VolumeModification withOriginalIops(Integer originalIops)
The original IOPS rate of the volume.
originalIops
- The original IOPS rate of the volume.public void setOriginalVolumeType(String originalVolumeType)
The original EBS volume type of the volume.
originalVolumeType
- The original EBS volume type of the volume.VolumeType
public String getOriginalVolumeType()
The original EBS volume type of the volume.
VolumeType
public VolumeModification withOriginalVolumeType(String originalVolumeType)
The original EBS volume type of the volume.
originalVolumeType
- The original EBS volume type of the volume.VolumeType
public void setOriginalVolumeType(VolumeType originalVolumeType)
The original EBS volume type of the volume.
originalVolumeType
- The original EBS volume type of the volume.VolumeType
public VolumeModification withOriginalVolumeType(VolumeType originalVolumeType)
The original EBS volume type of the volume.
originalVolumeType
- The original EBS volume type of the volume.VolumeType
public void setOriginalThroughput(Integer originalThroughput)
The original throughput of the volume, in MiB/s.
originalThroughput
- The original throughput of the volume, in MiB/s.public Integer getOriginalThroughput()
The original throughput of the volume, in MiB/s.
public VolumeModification withOriginalThroughput(Integer originalThroughput)
The original throughput of the volume, in MiB/s.
originalThroughput
- The original throughput of the volume, in MiB/s.public void setOriginalMultiAttachEnabled(Boolean originalMultiAttachEnabled)
The original setting for Amazon EBS Multi-Attach.
originalMultiAttachEnabled
- The original setting for Amazon EBS Multi-Attach.public Boolean getOriginalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
public VolumeModification withOriginalMultiAttachEnabled(Boolean originalMultiAttachEnabled)
The original setting for Amazon EBS Multi-Attach.
originalMultiAttachEnabled
- The original setting for Amazon EBS Multi-Attach.public Boolean isOriginalMultiAttachEnabled()
The original setting for Amazon EBS Multi-Attach.
public void setProgress(Long progress)
The modification progress, from 0 to 100 percent complete.
progress
- The modification progress, from 0 to 100 percent complete.public Long getProgress()
The modification progress, from 0 to 100 percent complete.
public VolumeModification withProgress(Long progress)
The modification progress, from 0 to 100 percent complete.
progress
- The modification progress, from 0 to 100 percent complete.public void setStartTime(Date startTime)
The modification start time.
startTime
- The modification start time.public Date getStartTime()
The modification start time.
public VolumeModification withStartTime(Date startTime)
The modification start time.
startTime
- The modification start time.public void setEndTime(Date endTime)
The modification completion or failure time.
endTime
- The modification completion or failure time.public Date getEndTime()
The modification completion or failure time.
public VolumeModification withEndTime(Date endTime)
The modification completion or failure time.
endTime
- The modification completion or failure time.public String toString()
toString
in class Object
Object.toString()
public VolumeModification clone()