@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptReservedInstancesExchangeQuoteResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of the exchange and whether it was successful
.
Constructor and Description |
---|
AcceptReservedInstancesExchangeQuoteResult() |
Modifier and Type | Method and Description |
---|---|
AcceptReservedInstancesExchangeQuoteResult |
clone() |
boolean |
equals(Object obj) |
String |
getExchangeId()
The ID of the successful exchange.
|
int |
hashCode() |
void |
setExchangeId(String exchangeId)
The ID of the successful exchange.
|
String |
toString()
Returns a string representation of this object.
|
AcceptReservedInstancesExchangeQuoteResult |
withExchangeId(String exchangeId)
The ID of the successful exchange.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public AcceptReservedInstancesExchangeQuoteResult()
public void setExchangeId(String exchangeId)
The ID of the successful exchange.
exchangeId
- The ID of the successful exchange.public String getExchangeId()
The ID of the successful exchange.
public AcceptReservedInstancesExchangeQuoteResult withExchangeId(String exchangeId)
The ID of the successful exchange.
exchangeId
- The ID of the successful exchange.public String toString()
toString
in class Object
Object.toString()
public AcceptReservedInstancesExchangeQuoteResult clone()