Cloneable
, ReadLimitInfo
, ToCopyableBuilder<PurchaseHostReservationRequest.Builder,PurchaseHostReservationRequest>
@Generated("software.amazon.awssdk:codegen") public class PurchaseHostReservationRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<PurchaseHostReservationRequest.Builder,PurchaseHostReservationRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
PurchaseHostReservationRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static PurchaseHostReservationRequest.Builder |
builder() |
|
String |
clientToken() |
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
String |
currencyCode() |
The currency in which the
totalUpfrontPrice , LimitPrice , and
totalHourlyPrice amounts are specified. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<String> |
hostIdSet() |
The ID/s of the Dedicated Host/s that the reservation will be associated with.
|
String |
limitPrice() |
The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's
upfront cost multiplied by the host count).
|
String |
offeringId() |
The ID of the offering.
|
static Class<? extends PurchaseHostReservationRequest.Builder> |
serializableBuilderClass() |
|
PurchaseHostReservationRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
public String currencyCode()
The currency in which the totalUpfrontPrice
, LimitPrice
, and
totalHourlyPrice
amounts are specified. At this time, the only supported currency is
USD
.
totalUpfrontPrice
, LimitPrice
, and
totalHourlyPrice
amounts are specified. At this time, the only supported currency is
USD
.CurrencyCodeValues
public List<String> hostIdSet()
The ID/s of the Dedicated Host/s that the reservation will be associated with.
public String limitPrice()
The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's
upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit,
the request will fail. This is used to ensure that the purchase does not exceed the expected upfront cost of the
purchase. At this time, the only supported currency is USD
. For example, to indicate a limit price
of USD 100, specify 100.00.
USD
.
For example, to indicate a limit price of USD 100, specify 100.00.public String offeringId()
The ID of the offering.
public PurchaseHostReservationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PurchaseHostReservationRequest.Builder,PurchaseHostReservationRequest>
public static PurchaseHostReservationRequest.Builder builder()
public static Class<? extends PurchaseHostReservationRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.