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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetHostReservationPurchasePreviewResponse.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,
CurrencyCodeValuesGetHostReservationPurchasePreviewResponse.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,
CurrencyCodeValuesGetHostReservationPurchasePreviewResponse.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 method that creates an instance of thePurchase.Builder avoiding the need to create one manually
via Purchase.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #purchase(List.
purchase - a consumer that will call methods on
Purchase.Builder#purchase(java.util.Collection) 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 © 2023. All rights reserved.