public class ReservedInstancesModificationResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the modification request/s.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
reservedInstancesId
The ID for the Reserved Instances that were created as part of the
modification request.
|
private ReservedInstancesConfiguration |
targetConfiguration
The target Reserved Instances configurations supplied as part of the
modification request.
|
Constructor and Description |
---|
ReservedInstancesModificationResult() |
Modifier and Type | Method and Description |
---|---|
ReservedInstancesModificationResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getReservedInstancesId()
The ID for the Reserved Instances that were created as part of the
modification request.
|
ReservedInstancesConfiguration |
getTargetConfiguration()
The target Reserved Instances configurations supplied as part of the
modification request.
|
int |
hashCode() |
void |
setReservedInstancesId(java.lang.String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the
modification request.
|
void |
setTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the
modification request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReservedInstancesModificationResult |
withReservedInstancesId(java.lang.String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the
modification request.
|
ReservedInstancesModificationResult |
withTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the
modification request.
|
private java.lang.String reservedInstancesId
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
private ReservedInstancesConfiguration targetConfiguration
The target Reserved Instances configurations supplied as part of the modification request.
public void setReservedInstancesId(java.lang.String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
reservedInstancesId
- The ID for the Reserved Instances that were created as part of the
modification request. This field is only available when the
modification is fulfilled.public java.lang.String getReservedInstancesId()
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
public ReservedInstancesModificationResult withReservedInstancesId(java.lang.String reservedInstancesId)
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
reservedInstancesId
- The ID for the Reserved Instances that were created as part of the
modification request. This field is only available when the
modification is fulfilled.public void setTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
targetConfiguration
- The target Reserved Instances configurations supplied as part of
the modification request.public ReservedInstancesConfiguration getTargetConfiguration()
The target Reserved Instances configurations supplied as part of the modification request.
public ReservedInstancesModificationResult withTargetConfiguration(ReservedInstancesConfiguration targetConfiguration)
The target Reserved Instances configurations supplied as part of the modification request.
targetConfiguration
- The target Reserved Instances configurations supplied as part of
the modification request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReservedInstancesModificationResult clone()
clone
in class java.lang.Object