| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
static Purchase.Builder |
Purchase.builder() |
Purchase.Builder |
Purchase.Builder.currencyCode(CurrencyCodeValues currencyCode)
The currency in which the
UpfrontPrice and HourlyPrice amounts are specified. |
Purchase.Builder |
Purchase.Builder.currencyCode(String currencyCode)
The currency in which the
UpfrontPrice and HourlyPrice amounts are specified. |
Purchase.Builder |
Purchase.Builder.duration(Integer duration)
The duration of the reservation's term in seconds.
|
Purchase.Builder |
Purchase.Builder.hostIdSet(Collection<String> hostIdSet)
The IDs of the Dedicated Hosts associated with the reservation.
|
Purchase.Builder |
Purchase.Builder.hostIdSet(String... hostIdSet)
The IDs of the Dedicated Hosts associated with the reservation.
|
Purchase.Builder |
Purchase.Builder.hostReservationId(String hostReservationId)
The ID of the reservation.
|
Purchase.Builder |
Purchase.Builder.hourlyPrice(String hourlyPrice)
The hourly price of the reservation per hour.
|
Purchase.Builder |
Purchase.Builder.instanceFamily(String instanceFamily)
The instance family on the Dedicated Host that the reservation can be associated with.
|
Purchase.Builder |
Purchase.Builder.paymentOption(PaymentOption paymentOption)
The payment option for the reservation.
|
Purchase.Builder |
Purchase.Builder.paymentOption(String paymentOption)
The payment option for the reservation.
|
Purchase.Builder |
Purchase.toBuilder() |
Purchase.Builder |
Purchase.Builder.upfrontPrice(String upfrontPrice)
The upfront price of the reservation.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Purchase.Builder> |
Purchase.serializableBuilderClass() |
Copyright © 2023. All rights reserved.