CopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
, SdkBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
public static interface GetHostReservationPurchasePreviewResponse.Builder extends CopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
Modifier and Type | Method | Description |
---|---|---|
GetHostReservationPurchasePreviewResponse.Builder |
currencyCode(String currencyCode) |
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are
specified. |
GetHostReservationPurchasePreviewResponse.Builder |
currencyCode(CurrencyCodeValues 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(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.
|
copy
apply, 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
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
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.
NOTE: This method appends the values to the existing list (if any). Use
#setPurchase(java.util.Collection)
or #withPurchase(java.util.Collection)
if you want to
override the existing values.
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.
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.