public static interface PurchaseHostReservationResponse.Builder extends EC2Response.Builder, CopyableBuilder<PurchaseHostReservationResponse.Builder,PurchaseHostReservationResponse>
Modifier and Type | Method and Description |
---|---|
PurchaseHostReservationResponse.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure 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(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 that will be charged to your account when you purchase the reservation.
|
build
copy
apply, build
PurchaseHostReservationResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more
information, see How to Ensure
Idempotency in the Amazon Elastic Compute Cloud User GuidePurchaseHostReservationResponse.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
PurchaseHostReservationResponse.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
PurchaseHostReservationResponse.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 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 that will be charged to your account when you purchase the reservation.
totalUpfrontPrice
- The total amount that will be charged to your account when you purchase the reservation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.