public static interface PurchaseHostReservationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<PurchaseHostReservationResponse.Builder,PurchaseHostReservationResponse>
| Modifier and Type | Method and Description |
|---|---|
PurchaseHostReservationResponse.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
PurchaseHostReservationResponse.Builder |
currencyCode(CurrencyCodeValues currencyCode)
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are
specified. |
PurchaseHostReservationResponse.Builder |
currencyCode(String currencyCode)
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are
specified. |
PurchaseHostReservationResponse.Builder |
purchase(Collection<Purchase> purchase)
Describes the details of the purchase.
|
PurchaseHostReservationResponse.Builder |
purchase(Consumer<Purchase.Builder>... purchase)
Describes the details of the purchase.
|
PurchaseHostReservationResponse.Builder |
purchase(Purchase... purchase)
Describes the details of the purchase.
|
PurchaseHostReservationResponse.Builder |
totalHourlyPrice(String totalHourlyPrice)
The total hourly price of the reservation calculated per hour.
|
PurchaseHostReservationResponse.Builder |
totalUpfrontPrice(String totalUpfrontPrice)
The total amount charged to your account when you purchase the reservation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPurchaseHostReservationResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
Ensure Idempotency.PurchaseHostReservationResponse.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,
CurrencyCodeValuesPurchaseHostReservationResponse.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,
CurrencyCodeValuesPurchaseHostReservationResponse.Builder purchase(Collection<Purchase> purchase)
Describes the details of the purchase.
purchase - Describes the details of the purchase.PurchaseHostReservationResponse.Builder purchase(Purchase... purchase)
Describes the details of the purchase.
purchase - Describes the details of the purchase.PurchaseHostReservationResponse.Builder purchase(Consumer<Purchase.Builder>... purchase)
Describes the details of the purchase.
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) PurchaseHostReservationResponse.Builder totalHourlyPrice(String totalHourlyPrice)
The total hourly price of the reservation calculated per hour.
totalHourlyPrice - The total hourly price of the reservation calculated per hour.PurchaseHostReservationResponse.Builder totalUpfrontPrice(String totalUpfrontPrice)
The total amount charged to your account when you purchase the reservation.
totalUpfrontPrice - The total amount charged to your account when you purchase the reservation.Copyright © 2020. All rights reserved.