@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()
Modification completion or failure time.
|
String |
getModificationState()
Current state of modification.
|
Integer |
getOriginalIops()
Original IOPS rate of the volume being modified.
|
Integer |
getOriginalSize()
Original size of the volume being modified.
|
String |
getOriginalVolumeType()
Original EBS volume type of the volume being modified.
|
Long |
getProgress()
Modification progress from 0 to 100%.
|
Date |
getStartTime()
Modification start time
|
String |
getStatusMessage()
Generic status message on modification progress or failure.
|
Integer |
getTargetIops()
Target IOPS rate of the volume being modified.
|
Integer |
getTargetSize()
Target size of the volume being modified.
|
String |
getTargetVolumeType()
Target EBS volume type of the volume being modified.
|
String |
getVolumeId()
ID of the volume being modified.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
Modification completion or failure time.
|
void |
setModificationState(String modificationState)
Current state of modification.
|
void |
setModificationState(VolumeModificationState modificationState)
Current state of modification.
|
void |
setOriginalIops(Integer originalIops)
Original IOPS rate of the volume being modified.
|
void |
setOriginalSize(Integer originalSize)
Original size of the volume being modified.
|
void |
setOriginalVolumeType(String originalVolumeType)
Original EBS volume type of the volume being modified.
|
void |
setOriginalVolumeType(VolumeType originalVolumeType)
Original EBS volume type of the volume being modified.
|
void |
setProgress(Long progress)
Modification progress from 0 to 100%.
|
void |
setStartTime(Date startTime)
Modification start time
|
void |
setStatusMessage(String statusMessage)
Generic status message on modification progress or failure.
|
void |
setTargetIops(Integer targetIops)
Target IOPS rate of the volume being modified.
|
void |
setTargetSize(Integer targetSize)
Target size of the volume being modified.
|
void |
setTargetVolumeType(String targetVolumeType)
Target EBS volume type of the volume being modified.
|
void |
setTargetVolumeType(VolumeType targetVolumeType)
Target EBS volume type of the volume being modified.
|
void |
setVolumeId(String volumeId)
ID of the volume being modified.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VolumeModification |
withEndTime(Date endTime)
Modification completion or failure time.
|
VolumeModification |
withModificationState(String modificationState)
Current state of modification.
|
VolumeModification |
withModificationState(VolumeModificationState modificationState)
Current state of modification.
|
VolumeModification |
withOriginalIops(Integer originalIops)
Original IOPS rate of the volume being modified.
|
VolumeModification |
withOriginalSize(Integer originalSize)
Original size of the volume being modified.
|
VolumeModification |
withOriginalVolumeType(String originalVolumeType)
Original EBS volume type of the volume being modified.
|
VolumeModification |
withOriginalVolumeType(VolumeType originalVolumeType)
Original EBS volume type of the volume being modified.
|
VolumeModification |
withProgress(Long progress)
Modification progress from 0 to 100%.
|
VolumeModification |
withStartTime(Date startTime)
Modification start time
|
VolumeModification |
withStatusMessage(String statusMessage)
Generic status message on modification progress or failure.
|
VolumeModification |
withTargetIops(Integer targetIops)
Target IOPS rate of the volume being modified.
|
VolumeModification |
withTargetSize(Integer targetSize)
Target size of the volume being modified.
|
VolumeModification |
withTargetVolumeType(String targetVolumeType)
Target EBS volume type of the volume being modified.
|
VolumeModification |
withTargetVolumeType(VolumeType targetVolumeType)
Target EBS volume type of the volume being modified.
|
VolumeModification |
withVolumeId(String volumeId)
ID of the volume being modified.
|
public void setVolumeId(String volumeId)
ID of the volume being modified.
volumeId
- ID of the volume being modified.public String getVolumeId()
ID of the volume being modified.
public VolumeModification withVolumeId(String volumeId)
ID of the volume being modified.
volumeId
- ID of the volume being modified.public void setModificationState(String modificationState)
Current state of modification. Modification state is null for unmodified volumes.
modificationState
- Current state of modification. Modification state is null for unmodified volumes.VolumeModificationState
public String getModificationState()
Current state of modification. Modification state is null for unmodified volumes.
VolumeModificationState
public VolumeModification withModificationState(String modificationState)
Current state of modification. Modification state is null for unmodified volumes.
modificationState
- Current state of modification. Modification state is null for unmodified volumes.VolumeModificationState
public void setModificationState(VolumeModificationState modificationState)
Current state of modification. Modification state is null for unmodified volumes.
modificationState
- Current state of modification. Modification state is null for unmodified volumes.VolumeModificationState
public VolumeModification withModificationState(VolumeModificationState modificationState)
Current state of modification. Modification state is null for unmodified volumes.
modificationState
- Current state of modification. Modification state is null for unmodified volumes.VolumeModificationState
public void setStatusMessage(String statusMessage)
Generic status message on modification progress or failure.
statusMessage
- Generic status message on modification progress or failure.public String getStatusMessage()
Generic status message on modification progress or failure.
public VolumeModification withStatusMessage(String statusMessage)
Generic status message on modification progress or failure.
statusMessage
- Generic status message on modification progress or failure.public void setTargetSize(Integer targetSize)
Target size of the volume being modified.
targetSize
- Target size of the volume being modified.public Integer getTargetSize()
Target size of the volume being modified.
public VolumeModification withTargetSize(Integer targetSize)
Target size of the volume being modified.
targetSize
- Target size of the volume being modified.public void setTargetIops(Integer targetIops)
Target IOPS rate of the volume being modified.
targetIops
- Target IOPS rate of the volume being modified.public Integer getTargetIops()
Target IOPS rate of the volume being modified.
public VolumeModification withTargetIops(Integer targetIops)
Target IOPS rate of the volume being modified.
targetIops
- Target IOPS rate of the volume being modified.public void setTargetVolumeType(String targetVolumeType)
Target EBS volume type of the volume being modified.
targetVolumeType
- Target EBS volume type of the volume being modified.VolumeType
public String getTargetVolumeType()
Target EBS volume type of the volume being modified.
VolumeType
public VolumeModification withTargetVolumeType(String targetVolumeType)
Target EBS volume type of the volume being modified.
targetVolumeType
- Target EBS volume type of the volume being modified.VolumeType
public void setTargetVolumeType(VolumeType targetVolumeType)
Target EBS volume type of the volume being modified.
targetVolumeType
- Target EBS volume type of the volume being modified.VolumeType
public VolumeModification withTargetVolumeType(VolumeType targetVolumeType)
Target EBS volume type of the volume being modified.
targetVolumeType
- Target EBS volume type of the volume being modified.VolumeType
public void setOriginalSize(Integer originalSize)
Original size of the volume being modified.
originalSize
- Original size of the volume being modified.public Integer getOriginalSize()
Original size of the volume being modified.
public VolumeModification withOriginalSize(Integer originalSize)
Original size of the volume being modified.
originalSize
- Original size of the volume being modified.public void setOriginalIops(Integer originalIops)
Original IOPS rate of the volume being modified.
originalIops
- Original IOPS rate of the volume being modified.public Integer getOriginalIops()
Original IOPS rate of the volume being modified.
public VolumeModification withOriginalIops(Integer originalIops)
Original IOPS rate of the volume being modified.
originalIops
- Original IOPS rate of the volume being modified.public void setOriginalVolumeType(String originalVolumeType)
Original EBS volume type of the volume being modified.
originalVolumeType
- Original EBS volume type of the volume being modified.VolumeType
public String getOriginalVolumeType()
Original EBS volume type of the volume being modified.
VolumeType
public VolumeModification withOriginalVolumeType(String originalVolumeType)
Original EBS volume type of the volume being modified.
originalVolumeType
- Original EBS volume type of the volume being modified.VolumeType
public void setOriginalVolumeType(VolumeType originalVolumeType)
Original EBS volume type of the volume being modified.
originalVolumeType
- Original EBS volume type of the volume being modified.VolumeType
public VolumeModification withOriginalVolumeType(VolumeType originalVolumeType)
Original EBS volume type of the volume being modified.
originalVolumeType
- Original EBS volume type of the volume being modified.VolumeType
public void setProgress(Long progress)
Modification progress from 0 to 100%.
progress
- Modification progress from 0 to 100%.public Long getProgress()
Modification progress from 0 to 100%.
public VolumeModification withProgress(Long progress)
Modification progress from 0 to 100%.
progress
- Modification progress from 0 to 100%.public void setStartTime(Date startTime)
Modification start time
startTime
- Modification start timepublic Date getStartTime()
Modification start time
public VolumeModification withStartTime(Date startTime)
Modification start time
startTime
- Modification start timepublic void setEndTime(Date endTime)
Modification completion or failure time.
endTime
- Modification completion or failure time.public Date getEndTime()
Modification completion or failure time.
public VolumeModification withEndTime(Date endTime)
Modification completion or failure time.
endTime
- 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.