public static interface GetHostReservationPurchasePreviewResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
Modifier and Type | Method and Description |
---|---|
GetHostReservationPurchasePreviewResponse.Builder |
currencyCode(CurrencyCodeValues currencyCode)
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are
specified. |
GetHostReservationPurchasePreviewResponse.Builder |
currencyCode(String currencyCode)
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are
specified. |
GetHostReservationPurchasePreviewResponse.Builder |
purchase(Collection<Purchase> purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
|
GetHostReservationPurchasePreviewResponse.Builder |
purchase(Consumer<Purchase.Builder>... purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
|
GetHostReservationPurchasePreviewResponse.Builder |
purchase(Purchase... purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
|
GetHostReservationPurchasePreviewResponse.Builder |
totalHourlyPrice(String totalHourlyPrice)
The potential total hourly price of the reservation per hour.
|
GetHostReservationPurchasePreviewResponse.Builder |
totalUpfrontPrice(String totalUpfrontPrice)
The potential total upfront price.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetHostReservationPurchasePreviewResponse.Builder currencyCode(String currencyCode)
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are
specified. At this time, the only supported currency is USD
.
currencyCode
- The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are
specified. At this time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
GetHostReservationPurchasePreviewResponse.Builder currencyCode(CurrencyCodeValues currencyCode)
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are
specified. At this time, the only supported currency is USD
.
currencyCode
- The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are
specified. At this time, the only supported currency is USD
.CurrencyCodeValues
,
CurrencyCodeValues
GetHostReservationPurchasePreviewResponse.Builder purchase(Collection<Purchase> purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
purchase
- The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.GetHostReservationPurchasePreviewResponse.Builder purchase(Purchase... purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
purchase
- The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.GetHostReservationPurchasePreviewResponse.Builder purchase(Consumer<Purchase.Builder>... purchase)
The purchase information of the Dedicated Host reservation and the Dedicated Hosts associated with it.
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 #purchase(List)
.purchase
- a consumer that will call methods on List.Builder
#purchase(List)
GetHostReservationPurchasePreviewResponse.Builder totalHourlyPrice(String totalHourlyPrice)
The potential total hourly price of the reservation per hour.
totalHourlyPrice
- The potential total hourly price of the reservation per hour.GetHostReservationPurchasePreviewResponse.Builder totalUpfrontPrice(String totalUpfrontPrice)
The potential total upfront price. This is billed immediately.
totalUpfrontPrice
- The potential total upfront price. This is billed immediately.Copyright © 2019. All rights reserved.