@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.
If the volume has never been modified, some element values will be null.
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.
|
Integer |
getOriginalSize()
The original size of the volume.
|
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.
|
Integer |
getTargetSize()
The target size of the volume, in GiB.
|
String |
getTargetVolumeType()
The target EBS volume type of the volume.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
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 |
setOriginalSize(Integer originalSize)
The original size of the volume.
|
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 |
setTargetSize(Integer targetSize)
The target size of the volume, in GiB.
|
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 |
withOriginalSize(Integer originalSize)
The original size of the volume.
|
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 |
withTargetSize(Integer targetSize)
The target size of the volume, in GiB.
|
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. The modification state is null for unmodified volumes.
modificationState
- The current modification state. The modification state is null for unmodified volumes.VolumeModificationState
public String getModificationState()
The current modification state. The modification state is null for unmodified volumes.
VolumeModificationState
public VolumeModification withModificationState(String modificationState)
The current modification state. The modification state is null for unmodified volumes.
modificationState
- The current modification state. The modification state is null for unmodified volumes.VolumeModificationState
public void setModificationState(VolumeModificationState modificationState)
The current modification state. The modification state is null for unmodified volumes.
modificationState
- The current modification state. The modification state is null for unmodified volumes.VolumeModificationState
public VolumeModification withModificationState(VolumeModificationState modificationState)
The current modification state. The modification state is null for unmodified volumes.
modificationState
- The current modification state. The modification state is null for unmodified volumes.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 setOriginalSize(Integer originalSize)
The original size of the volume.
originalSize
- The original size of the volume.public Integer getOriginalSize()
The original size of the volume.
public VolumeModification withOriginalSize(Integer originalSize)
The original size of the volume.
originalSize
- The original size of the volume.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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.