@Generated(value="software.amazon.awssdk:codegen") public final class ReservedInstanceLimitPrice extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
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() |
copy
public 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
.CurrencyCodeValues
public 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
.CurrencyCodeValues
public ReservedInstanceLimitPrice.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.