ToCopyableBuilder<HostOffering.Builder,HostOffering>
@Generated("software.amazon.awssdk:codegen") public class HostOffering extends Object implements ToCopyableBuilder<HostOffering.Builder,HostOffering>
Details about the Dedicated Host Reservation offering.
Modifier and Type | Class | Description |
---|---|---|
static interface |
HostOffering.Builder |
Modifier and Type | Method | Description |
---|---|---|
static HostOffering.Builder |
builder() |
|
String |
currencyCode() |
The currency of the offering.
|
Integer |
duration() |
The duration of the offering (in seconds).
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
hourlyPrice() |
The hourly price of the offering.
|
String |
instanceFamily() |
The instance family of the offering.
|
String |
offeringId() |
The ID of the offering.
|
String |
paymentOption() |
The available payment option.
|
static Class<? extends HostOffering.Builder> |
serializableBuilderClass() |
|
HostOffering.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
upfrontPrice() |
The upfront price of the offering.
|
public String currencyCode()
The currency of the offering.
CurrencyCodeValues
public Integer duration()
The duration of the offering (in seconds).
public String hourlyPrice()
The hourly price of the offering.
public String instanceFamily()
The instance family of the offering.
public String offeringId()
The ID of the offering.
public String paymentOption()
The available payment option.
PaymentOption
public String upfrontPrice()
The upfront price of the offering. Does not apply to No Upfront offerings.
public HostOffering.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostOffering.Builder,HostOffering>
public static HostOffering.Builder builder()
public static Class<? extends HostOffering.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.