@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReservedInstancesExchangeQuoteResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of GetReservedInstancesExchangeQuote.
Constructor and Description |
---|
GetReservedInstancesExchangeQuoteResult() |
Modifier and Type | Method and Description |
---|---|
GetReservedInstancesExchangeQuoteResult |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency of the transaction.
|
Boolean |
getIsValidExchange()
If
true , the exchange is valid. |
Date |
getOutputReservedInstancesWillExpireAt()
The new end date of the reservation term.
|
String |
getPaymentDue()
The total true upfront charge for the exchange.
|
ReservationValue |
getReservedInstanceValueRollup()
The cost associated with the Reserved Instance.
|
List<ReservedInstanceReservationValue> |
getReservedInstanceValueSet()
The configuration of your Convertible Reserved Instances.
|
ReservationValue |
getTargetConfigurationValueRollup()
The cost associated with the Reserved Instance.
|
List<TargetReservationValue> |
getTargetConfigurationValueSet()
The values of the target Convertible Reserved Instances.
|
String |
getValidationFailureReason()
Describes the reason why the exchange cannot be completed.
|
int |
hashCode() |
Boolean |
isValidExchange()
If
true , the exchange is valid. |
void |
setCurrencyCode(String currencyCode)
The currency of the transaction.
|
void |
setIsValidExchange(Boolean isValidExchange)
If
true , the exchange is valid. |
void |
setOutputReservedInstancesWillExpireAt(Date outputReservedInstancesWillExpireAt)
The new end date of the reservation term.
|
void |
setPaymentDue(String paymentDue)
The total true upfront charge for the exchange.
|
void |
setReservedInstanceValueRollup(ReservationValue reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
|
void |
setReservedInstanceValueSet(Collection<ReservedInstanceReservationValue> reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
|
void |
setTargetConfigurationValueRollup(ReservationValue targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
|
void |
setTargetConfigurationValueSet(Collection<TargetReservationValue> targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
|
void |
setValidationFailureReason(String validationFailureReason)
Describes the reason why the exchange cannot be completed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetReservedInstancesExchangeQuoteResult |
withCurrencyCode(String currencyCode)
The currency of the transaction.
|
GetReservedInstancesExchangeQuoteResult |
withIsValidExchange(Boolean isValidExchange)
If
true , the exchange is valid. |
GetReservedInstancesExchangeQuoteResult |
withOutputReservedInstancesWillExpireAt(Date outputReservedInstancesWillExpireAt)
The new end date of the reservation term.
|
GetReservedInstancesExchangeQuoteResult |
withPaymentDue(String paymentDue)
The total true upfront charge for the exchange.
|
GetReservedInstancesExchangeQuoteResult |
withReservedInstanceValueRollup(ReservationValue reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
|
GetReservedInstancesExchangeQuoteResult |
withReservedInstanceValueSet(Collection<ReservedInstanceReservationValue> reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
|
GetReservedInstancesExchangeQuoteResult |
withReservedInstanceValueSet(ReservedInstanceReservationValue... reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
|
GetReservedInstancesExchangeQuoteResult |
withTargetConfigurationValueRollup(ReservationValue targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
|
GetReservedInstancesExchangeQuoteResult |
withTargetConfigurationValueSet(Collection<TargetReservationValue> targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
|
GetReservedInstancesExchangeQuoteResult |
withTargetConfigurationValueSet(TargetReservationValue... targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
|
GetReservedInstancesExchangeQuoteResult |
withValidationFailureReason(String validationFailureReason)
Describes the reason why the exchange cannot be completed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetReservedInstancesExchangeQuoteResult()
public void setCurrencyCode(String currencyCode)
The currency of the transaction.
currencyCode
- The currency of the transaction.public String getCurrencyCode()
The currency of the transaction.
public GetReservedInstancesExchangeQuoteResult withCurrencyCode(String currencyCode)
The currency of the transaction.
currencyCode
- The currency of the transaction.public void setIsValidExchange(Boolean isValidExchange)
If true
, the exchange is valid. If false
, the exchange cannot be completed.
isValidExchange
- If true
, the exchange is valid. If false
, the exchange cannot be completed.public Boolean getIsValidExchange()
If true
, the exchange is valid. If false
, the exchange cannot be completed.
true
, the exchange is valid. If false
, the exchange cannot be completed.public GetReservedInstancesExchangeQuoteResult withIsValidExchange(Boolean isValidExchange)
If true
, the exchange is valid. If false
, the exchange cannot be completed.
isValidExchange
- If true
, the exchange is valid. If false
, the exchange cannot be completed.public Boolean isValidExchange()
If true
, the exchange is valid. If false
, the exchange cannot be completed.
true
, the exchange is valid. If false
, the exchange cannot be completed.public void setOutputReservedInstancesWillExpireAt(Date outputReservedInstancesWillExpireAt)
The new end date of the reservation term.
outputReservedInstancesWillExpireAt
- The new end date of the reservation term.public Date getOutputReservedInstancesWillExpireAt()
The new end date of the reservation term.
public GetReservedInstancesExchangeQuoteResult withOutputReservedInstancesWillExpireAt(Date outputReservedInstancesWillExpireAt)
The new end date of the reservation term.
outputReservedInstancesWillExpireAt
- The new end date of the reservation term.public void setPaymentDue(String paymentDue)
The total true upfront charge for the exchange.
paymentDue
- The total true upfront charge for the exchange.public String getPaymentDue()
The total true upfront charge for the exchange.
public GetReservedInstancesExchangeQuoteResult withPaymentDue(String paymentDue)
The total true upfront charge for the exchange.
paymentDue
- The total true upfront charge for the exchange.public void setReservedInstanceValueRollup(ReservationValue reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
reservedInstanceValueRollup
- The cost associated with the Reserved Instance.public ReservationValue getReservedInstanceValueRollup()
The cost associated with the Reserved Instance.
public GetReservedInstancesExchangeQuoteResult withReservedInstanceValueRollup(ReservationValue reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
reservedInstanceValueRollup
- The cost associated with the Reserved Instance.public List<ReservedInstanceReservationValue> getReservedInstanceValueSet()
The configuration of your Convertible Reserved Instances.
public void setReservedInstanceValueSet(Collection<ReservedInstanceReservationValue> reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
reservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteResult withReservedInstanceValueSet(ReservedInstanceReservationValue... reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
NOTE: This method appends the values to the existing list (if any). Use
setReservedInstanceValueSet(java.util.Collection)
or
withReservedInstanceValueSet(java.util.Collection)
if you want to override the existing values.
reservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteResult withReservedInstanceValueSet(Collection<ReservedInstanceReservationValue> reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
reservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.public void setTargetConfigurationValueRollup(ReservationValue targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
targetConfigurationValueRollup
- The cost associated with the Reserved Instance.public ReservationValue getTargetConfigurationValueRollup()
The cost associated with the Reserved Instance.
public GetReservedInstancesExchangeQuoteResult withTargetConfigurationValueRollup(ReservationValue targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
targetConfigurationValueRollup
- The cost associated with the Reserved Instance.public List<TargetReservationValue> getTargetConfigurationValueSet()
The values of the target Convertible Reserved Instances.
public void setTargetConfigurationValueSet(Collection<TargetReservationValue> targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
targetConfigurationValueSet
- The values of the target Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteResult withTargetConfigurationValueSet(TargetReservationValue... targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
NOTE: This method appends the values to the existing list (if any). Use
setTargetConfigurationValueSet(java.util.Collection)
or
withTargetConfigurationValueSet(java.util.Collection)
if you want to override the existing values.
targetConfigurationValueSet
- The values of the target Convertible Reserved Instances.public GetReservedInstancesExchangeQuoteResult withTargetConfigurationValueSet(Collection<TargetReservationValue> targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
targetConfigurationValueSet
- The values of the target Convertible Reserved Instances.public void setValidationFailureReason(String validationFailureReason)
Describes the reason why the exchange cannot be completed.
validationFailureReason
- Describes the reason why the exchange cannot be completed.public String getValidationFailureReason()
Describes the reason why the exchange cannot be completed.
public GetReservedInstancesExchangeQuoteResult withValidationFailureReason(String validationFailureReason)
Describes the reason why the exchange cannot be completed.
validationFailureReason
- Describes the reason why the exchange cannot be completed.public String toString()
toString
in class Object
Object.toString()
public GetReservedInstancesExchangeQuoteResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.