ToCopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
@Generated("software.amazon.awssdk:codegen") public class GetHostReservationPurchasePreviewResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetHostReservationPurchasePreviewResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetHostReservationPurchasePreviewResponse.Builder |
builder() |
|
String |
currencyCode() |
The currency in which the
totalUpfrontPrice and totalHourlyPrice amounts are specified. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<Purchase> |
purchase() |
The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it.
|
static Class<? extends GetHostReservationPurchasePreviewResponse.Builder> |
serializableBuilderClass() |
|
GetHostReservationPurchasePreviewResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
totalHourlyPrice() |
The potential total hourly price of the reservation per hour.
|
String |
totalUpfrontPrice() |
The potential total upfront price.
|
setSdkHttpMetadata, setSdkResponseMetadata
public String currencyCode()
The currency in which the totalUpfrontPrice
and totalHourlyPrice
amounts are specified.
At this time, the only supported currency is USD
.
totalUpfrontPrice
and totalHourlyPrice
amounts are
specified. At this time, the only supported currency is USD
.CurrencyCodeValues
public List<Purchase> purchase()
The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it.
public String totalHourlyPrice()
The potential total hourly price of the reservation per hour.
public String totalUpfrontPrice()
The potential total upfront price. This is billed immediately.
public GetHostReservationPurchasePreviewResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
public static GetHostReservationPurchasePreviewResponse.Builder builder()
public static Class<? extends GetHostReservationPurchasePreviewResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.