public static interface GetReservedInstancesExchangeQuoteResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetReservedInstancesExchangeQuoteResponse.Builder,GetReservedInstancesExchangeQuoteResponse>
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetReservedInstancesExchangeQuoteResponse.Builder currencyCode(String currencyCode)
The currency of the transaction.
currencyCode
- The currency of the transaction.GetReservedInstancesExchangeQuoteResponse.Builder isValidExchange(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.GetReservedInstancesExchangeQuoteResponse.Builder outputReservedInstancesWillExpireAt(Instant outputReservedInstancesWillExpireAt)
The new end date of the reservation term.
outputReservedInstancesWillExpireAt
- The new end date of the reservation term.GetReservedInstancesExchangeQuoteResponse.Builder paymentDue(String paymentDue)
The total true upfront charge for the exchange.
paymentDue
- The total true upfront charge for the exchange.GetReservedInstancesExchangeQuoteResponse.Builder reservedInstanceValueRollup(ReservationValue reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
reservedInstanceValueRollup
- The cost associated with the Reserved Instance.default GetReservedInstancesExchangeQuoteResponse.Builder reservedInstanceValueRollup(Consumer<ReservationValue.Builder> reservedInstanceValueRollup)
The cost associated with the Reserved Instance.
This is a convenience that creates an instance of theReservationValue.Builder
avoiding the need to
create one manually via ReservationValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to reservedInstanceValueRollup(ReservationValue)
.reservedInstanceValueRollup
- a consumer that will call methods on ReservationValue.Builder
reservedInstanceValueRollup(ReservationValue)
GetReservedInstancesExchangeQuoteResponse.Builder reservedInstanceValueSet(Collection<ReservedInstanceReservationValue> reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
reservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.GetReservedInstancesExchangeQuoteResponse.Builder reservedInstanceValueSet(ReservedInstanceReservationValue... reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
reservedInstanceValueSet
- The configuration of your Convertible Reserved Instances.GetReservedInstancesExchangeQuoteResponse.Builder reservedInstanceValueSet(Consumer<ReservedInstanceReservationValue.Builder>... reservedInstanceValueSet)
The configuration of your Convertible Reserved Instances.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #reservedInstanceValueSet(List)
.reservedInstanceValueSet
- a consumer that will call methods on List.Builder
#reservedInstanceValueSet(List)
GetReservedInstancesExchangeQuoteResponse.Builder targetConfigurationValueRollup(ReservationValue targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
targetConfigurationValueRollup
- The cost associated with the Reserved Instance.default GetReservedInstancesExchangeQuoteResponse.Builder targetConfigurationValueRollup(Consumer<ReservationValue.Builder> targetConfigurationValueRollup)
The cost associated with the Reserved Instance.
This is a convenience that creates an instance of theReservationValue.Builder
avoiding the need to
create one manually via ReservationValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to targetConfigurationValueRollup(ReservationValue)
.targetConfigurationValueRollup
- a consumer that will call methods on ReservationValue.Builder
targetConfigurationValueRollup(ReservationValue)
GetReservedInstancesExchangeQuoteResponse.Builder targetConfigurationValueSet(Collection<TargetReservationValue> targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
targetConfigurationValueSet
- The values of the target Convertible Reserved Instances.GetReservedInstancesExchangeQuoteResponse.Builder targetConfigurationValueSet(TargetReservationValue... targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
targetConfigurationValueSet
- The values of the target Convertible Reserved Instances.GetReservedInstancesExchangeQuoteResponse.Builder targetConfigurationValueSet(Consumer<TargetReservationValue.Builder>... targetConfigurationValueSet)
The values of the target Convertible Reserved Instances.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #targetConfigurationValueSet(List)
.targetConfigurationValueSet
- a consumer that will call methods on List.Builder
#targetConfigurationValueSet(List)
GetReservedInstancesExchangeQuoteResponse.Builder validationFailureReason(String validationFailureReason)
Describes the reason why the exchange cannot be completed.
validationFailureReason
- Describes the reason why the exchange cannot be completed.Copyright © 2019. All rights reserved.