@Generated(value="software.amazon.awssdk:codegen") public class GetHostReservationPurchasePreviewResponse extends AmazonWebServiceResult<ResponseMetadata> implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetHostReservationPurchasePreviewResponse.Builder |
| Modifier and Type | Method and 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() |
String |
toString() |
String |
totalHourlyPrice()
The potential total hourly price of the reservation per hour.
|
String |
totalUpfrontPrice()
The potential total upfront price.
|
setSdkHttpMetadata, setSdkResponseMetadatapublic 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.CurrencyCodeValuespublic List<Purchase> purchase()
The purchase information of the Dedicated Host Reservation and the Dedicated Hosts associated with it.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<GetHostReservationPurchasePreviewResponse.Builder,GetHostReservationPurchasePreviewResponse>public static GetHostReservationPurchasePreviewResponse.Builder builder()
public static Class<? extends GetHostReservationPurchasePreviewResponse.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.