public class ReservedInstancesModification extends Object implements Serializable
Information about a specific modification request to your Reserved Instances.
Constructor and Description |
---|
ReservedInstancesModification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency token for the modification request.
|
Date |
getCreateDate()
The time the modification request was created.
|
Date |
getEffectiveDate()
The time the modification becomes effective.
|
List<ReservedInstancesModificationResult> |
getModificationResults()
The resulting information about the modified Reserved Instances.
|
List<ReservedInstancesId> |
getReservedInstancesIds()
The IDs of the Reserved Instances submitted for modification.
|
String |
getReservedInstancesModificationId()
The unique ID for the submitted modification request.
|
String |
getStatus()
The status of the modification request, which can be any of the
following values: processing, fulfilled, failed.
|
String |
getStatusMessage()
The reason for the status.
|
Date |
getUpdateDate()
The time the modification request was last updated.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The idempotency token for the modification request.
|
void |
setCreateDate(Date createDate)
The time the modification request was created.
|
void |
setEffectiveDate(Date effectiveDate)
The time the modification becomes effective.
|
void |
setModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
The resulting information about the modified Reserved Instances.
|
void |
setReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of the Reserved Instances submitted for modification.
|
void |
setReservedInstancesModificationId(String reservedInstancesModificationId)
The unique ID for the submitted modification request.
|
void |
setStatus(String status)
The status of the modification request, which can be any of the
following values: processing, fulfilled, failed.
|
void |
setStatusMessage(String statusMessage)
The reason for the status.
|
void |
setUpdateDate(Date updateDate)
The time the modification request was last updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedInstancesModification |
withClientToken(String clientToken)
The idempotency token for the modification request.
|
ReservedInstancesModification |
withCreateDate(Date createDate)
The time the modification request was created.
|
ReservedInstancesModification |
withEffectiveDate(Date effectiveDate)
The time the modification becomes effective.
|
ReservedInstancesModification |
withModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
The resulting information about the modified Reserved Instances.
|
ReservedInstancesModification |
withModificationResults(ReservedInstancesModificationResult... modificationResults)
The resulting information about the modified Reserved Instances.
|
ReservedInstancesModification |
withReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of the Reserved Instances submitted for modification.
|
ReservedInstancesModification |
withReservedInstancesIds(ReservedInstancesId... reservedInstancesIds)
The IDs of the Reserved Instances submitted for modification.
|
ReservedInstancesModification |
withReservedInstancesModificationId(String reservedInstancesModificationId)
The unique ID for the submitted modification request.
|
ReservedInstancesModification |
withStatus(String status)
The status of the modification request, which can be any of the
following values: processing, fulfilled, failed.
|
ReservedInstancesModification |
withStatusMessage(String statusMessage)
The reason for the status.
|
ReservedInstancesModification |
withUpdateDate(Date updateDate)
The time the modification request was last updated.
|
public String getReservedInstancesModificationId()
public void setReservedInstancesModificationId(String reservedInstancesModificationId)
reservedInstancesModificationId
- The unique ID for the submitted modification request.public ReservedInstancesModification withReservedInstancesModificationId(String reservedInstancesModificationId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesModificationId
- The unique ID for the submitted modification request.public List<ReservedInstancesId> getReservedInstancesIds()
public void setReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
reservedInstancesIds
- The IDs of the Reserved Instances submitted for modification.public ReservedInstancesModification withReservedInstancesIds(ReservedInstancesId... reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of the Reserved Instances submitted for modification.public ReservedInstancesModification withReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of the Reserved Instances submitted for modification.public List<ReservedInstancesModificationResult> getModificationResults()
public void setModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
modificationResults
- The resulting information about the modified Reserved Instances.public ReservedInstancesModification withModificationResults(ReservedInstancesModificationResult... modificationResults)
Returns a reference to this object so that method calls can be chained together.
modificationResults
- The resulting information about the modified Reserved Instances.public ReservedInstancesModification withModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Returns a reference to this object so that method calls can be chained together.
modificationResults
- The resulting information about the modified Reserved Instances.public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The time the modification request was created.public ReservedInstancesModification withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate
- The time the modification request was created.public Date getUpdateDate()
public void setUpdateDate(Date updateDate)
updateDate
- The time the modification request was last updated.public ReservedInstancesModification withUpdateDate(Date updateDate)
Returns a reference to this object so that method calls can be chained together.
updateDate
- The time the modification request was last updated.public Date getEffectiveDate()
public void setEffectiveDate(Date effectiveDate)
effectiveDate
- The time the modification becomes effective.public ReservedInstancesModification withEffectiveDate(Date effectiveDate)
Returns a reference to this object so that method calls can be chained together.
effectiveDate
- The time the modification becomes effective.public String getStatus()
public void setStatus(String status)
status
- The status of the modification request, which can be any of the
following values: processing, fulfilled, failed.public ReservedInstancesModification withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the modification request, which can be any of the
following values: processing, fulfilled, failed.public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- The reason for the status.public ReservedInstancesModification withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- The reason for the status.public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- The idempotency token for the modification request.public ReservedInstancesModification withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- The idempotency token for the modification request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.