@Generated(value="software.amazon.awssdk:codegen") public class ReservedInstanceLimitPrice extends Object implements ToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
Describes the limit price of a Reserved Instance offering.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReservedInstanceLimitPrice.Builder |
| Modifier and Type | Method and Description |
|---|---|
Double |
amount()
Used for Reserved Instance Marketplace offerings.
|
static ReservedInstanceLimitPrice.Builder |
builder() |
CurrencyCodeValues |
currencyCode()
The currency in which the
limitPrice amount is specified. |
String |
currencyCodeAsString()
The currency in which the
limitPrice amount is specified. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends ReservedInstanceLimitPrice.Builder> |
serializableBuilderClass() |
ReservedInstanceLimitPrice.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Double amount()
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
public CurrencyCodeValues currencyCode()
The currency in which the limitPrice amount is specified. At this time, the only supported currency
is USD.
If the service returns an enum value that is not available in the current SDK version, currencyCode will
return CurrencyCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyCodeAsString().
limitPrice amount is specified. At this time, the only supported
currency is USD.CurrencyCodeValuespublic String currencyCodeAsString()
The currency in which the limitPrice amount is specified. At this time, the only supported currency
is USD.
If the service returns an enum value that is not available in the current SDK version, currencyCode will
return CurrencyCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyCodeAsString().
limitPrice amount is specified. At this time, the only supported
currency is USD.CurrencyCodeValuespublic ReservedInstanceLimitPrice.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>public static ReservedInstanceLimitPrice.Builder builder()
public static Class<? extends ReservedInstanceLimitPrice.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.