|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ReservedInstancesModification
public class ReservedInstancesModification
Describes a Reserved Instance modification.
Constructor Summary | |
---|---|
ReservedInstancesModification()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getClientToken()
A unique, case-sensitive key supplied by the client to ensure that the modification request is idempotent. |
Date |
getCreateDate()
The time when the modification request was created. |
Date |
getEffectiveDate()
The time for the modification to become effective. |
List<ReservedInstancesModificationResult> |
getModificationResults()
Contains target configurations along with their corresponding new Reserved Instance IDs. |
List<ReservedInstancesId> |
getReservedInstancesIds()
The IDs of one or more Reserved Instances. |
String |
getReservedInstancesModificationId()
A unique ID for the Reserved Instance modification. |
String |
getStatus()
The status of the Reserved Instances modification request. |
String |
getStatusMessage()
The reason for the status. |
Date |
getUpdateDate()
The time when the modification request was last updated. |
int |
hashCode()
|
void |
setClientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the modification request is idempotent. |
void |
setCreateDate(Date createDate)
The time when the modification request was created. |
void |
setEffectiveDate(Date effectiveDate)
The time for the modification to become effective. |
void |
setModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs. |
void |
setReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of one or more Reserved Instances. |
void |
setReservedInstancesModificationId(String reservedInstancesModificationId)
A unique ID for the Reserved Instance modification. |
void |
setStatus(String status)
The status of the Reserved Instances modification request. |
void |
setStatusMessage(String statusMessage)
The reason for the status. |
void |
setUpdateDate(Date updateDate)
The time when the modification request was last updated. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedInstancesModification |
withClientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the modification request is idempotent. |
ReservedInstancesModification |
withCreateDate(Date createDate)
The time when the modification request was created. |
ReservedInstancesModification |
withEffectiveDate(Date effectiveDate)
The time for the modification to become effective. |
ReservedInstancesModification |
withModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs. |
ReservedInstancesModification |
withModificationResults(ReservedInstancesModificationResult... modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs. |
ReservedInstancesModification |
withReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of one or more Reserved Instances. |
ReservedInstancesModification |
withReservedInstancesIds(ReservedInstancesId... reservedInstancesIds)
The IDs of one or more Reserved Instances. |
ReservedInstancesModification |
withReservedInstancesModificationId(String reservedInstancesModificationId)
A unique ID for the Reserved Instance modification. |
ReservedInstancesModification |
withStatus(String status)
The status of the Reserved Instances modification request. |
ReservedInstancesModification |
withStatusMessage(String statusMessage)
The reason for the status. |
ReservedInstancesModification |
withUpdateDate(Date updateDate)
The time when the modification request was last updated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReservedInstancesModification()
Method Detail |
---|
public String getReservedInstancesModificationId()
public void setReservedInstancesModificationId(String reservedInstancesModificationId)
reservedInstancesModificationId
- A unique ID for the Reserved Instance modification.public ReservedInstancesModification withReservedInstancesModificationId(String reservedInstancesModificationId)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesModificationId
- A unique ID for the Reserved Instance modification.
public List<ReservedInstancesId> getReservedInstancesIds()
public void setReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
reservedInstancesIds
- The IDs of one or more Reserved Instances.public ReservedInstancesModification withReservedInstancesIds(ReservedInstancesId... reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of one or more Reserved Instances.
public ReservedInstancesModification withReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
Returns a reference to this object so that method calls can be chained together.
reservedInstancesIds
- The IDs of one or more Reserved Instances.
public List<ReservedInstancesModificationResult> getModificationResults()
public void setModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
modificationResults
- Contains target configurations along with their corresponding new
Reserved Instance IDs.public ReservedInstancesModification withModificationResults(ReservedInstancesModificationResult... modificationResults)
Returns a reference to this object so that method calls can be chained together.
modificationResults
- Contains target configurations along with their corresponding new
Reserved Instance IDs.
public ReservedInstancesModification withModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Returns a reference to this object so that method calls can be chained together.
modificationResults
- Contains target configurations along with their corresponding new
Reserved Instance IDs.
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The time when 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 when the modification request was created.
public Date getUpdateDate()
public void setUpdateDate(Date updateDate)
updateDate
- The time when 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 when the modification request was last updated.
public Date getEffectiveDate()
public void setEffectiveDate(Date effectiveDate)
effectiveDate
- The time for the modification to become effective.public ReservedInstancesModification withEffectiveDate(Date effectiveDate)
Returns a reference to this object so that method calls can be chained together.
effectiveDate
- The time for the modification to become effective.
public String getStatus()
public void setStatus(String status)
status
- The status of the Reserved Instances modification request.public ReservedInstancesModification withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the Reserved Instances modification request.
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
- A unique, case-sensitive key supplied by the client to ensure that the
modification request is idempotent.public ReservedInstancesModification withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- A unique, case-sensitive key supplied by the client to ensure that the
modification request is idempotent.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |