@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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()
toBuilder
in interface ToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
public static ReservedInstanceLimitPrice.Builder builder()
public static Class<? extends ReservedInstanceLimitPrice.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.