@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservedInstancesModification extends Object implements Serializable, Cloneable
Describes a Reserved Instance modification.
Constructor and Description |
---|
ReservedInstancesModification() |
Modifier and Type | Method and Description |
---|---|
ReservedInstancesModification |
clone() |
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive key supplied by the client to ensure that the 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 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.
|
ReservedInstancesModification |
withClientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the 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.
|
public void setClientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more
information, see Ensuring
Idempotency.public String getClientToken()
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
public ReservedInstancesModification withClientToken(String clientToken)
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
clientToken
- A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more
information, see Ensuring
Idempotency.public void setCreateDate(Date createDate)
The time when the modification request was created.
createDate
- The time when the modification request was created.public Date getCreateDate()
The time when the modification request was created.
public ReservedInstancesModification withCreateDate(Date createDate)
The time when the modification request was created.
createDate
- The time when the modification request was created.public void setEffectiveDate(Date effectiveDate)
The time for the modification to become effective.
effectiveDate
- The time for the modification to become effective.public Date getEffectiveDate()
The time for the modification to become effective.
public ReservedInstancesModification withEffectiveDate(Date effectiveDate)
The time for the modification to become effective.
effectiveDate
- The time for the modification to become effective.public List<ReservedInstancesModificationResult> getModificationResults()
Contains target configurations along with their corresponding new Reserved Instance IDs.
public void setModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs.
modificationResults
- Contains target configurations along with their corresponding new Reserved Instance IDs.public ReservedInstancesModification withModificationResults(ReservedInstancesModificationResult... modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setModificationResults(java.util.Collection)
or withModificationResults(java.util.Collection)
if you want to override the existing values.
modificationResults
- Contains target configurations along with their corresponding new Reserved Instance IDs.public ReservedInstancesModification withModificationResults(Collection<ReservedInstancesModificationResult> modificationResults)
Contains target configurations along with their corresponding new Reserved Instance IDs.
modificationResults
- Contains target configurations along with their corresponding new Reserved Instance IDs.public List<ReservedInstancesId> getReservedInstancesIds()
The IDs of one or more Reserved Instances.
public void setReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of one or more Reserved Instances.
reservedInstancesIds
- The IDs of one or more Reserved Instances.public ReservedInstancesModification withReservedInstancesIds(ReservedInstancesId... reservedInstancesIds)
The IDs of one or more Reserved Instances.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstancesIds(java.util.Collection)
or withReservedInstancesIds(java.util.Collection)
if you want to override the existing values.
reservedInstancesIds
- The IDs of one or more Reserved Instances.public ReservedInstancesModification withReservedInstancesIds(Collection<ReservedInstancesId> reservedInstancesIds)
The IDs of one or more Reserved Instances.
reservedInstancesIds
- The IDs of one or more Reserved Instances.public void setReservedInstancesModificationId(String reservedInstancesModificationId)
A unique ID for the Reserved Instance modification.
reservedInstancesModificationId
- A unique ID for the Reserved Instance modification.public String getReservedInstancesModificationId()
A unique ID for the Reserved Instance modification.
public ReservedInstancesModification withReservedInstancesModificationId(String reservedInstancesModificationId)
A unique ID for the Reserved Instance modification.
reservedInstancesModificationId
- A unique ID for the Reserved Instance modification.public void setStatus(String status)
The status of the Reserved Instances modification request.
status
- The status of the Reserved Instances modification request.public String getStatus()
The status of the Reserved Instances modification request.
public ReservedInstancesModification withStatus(String status)
The status of the Reserved Instances modification request.
status
- The status of the Reserved Instances modification request.public void setStatusMessage(String statusMessage)
The reason for the status.
statusMessage
- The reason for the status.public String getStatusMessage()
The reason for the status.
public ReservedInstancesModification withStatusMessage(String statusMessage)
The reason for the status.
statusMessage
- The reason for the status.public void setUpdateDate(Date updateDate)
The time when the modification request was last updated.
updateDate
- The time when the modification request was last updated.public Date getUpdateDate()
The time when the modification request was last updated.
public ReservedInstancesModification withUpdateDate(Date updateDate)
The time when the modification request was last updated.
updateDate
- The time when the modification request was last updated.public String toString()
toString
in class Object
Object.toString()
public ReservedInstancesModification clone()