Class ReservedInstanceLimitPrice
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ReservedInstanceLimitPrice
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedInstanceLimitPrice.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doubleamount()Used for Reserved Instance Marketplace offerings.static ReservedInstanceLimitPrice.Builderbuilder()CurrencyCodeValuescurrencyCode()The currency in which thelimitPriceamount is specified.StringcurrencyCodeAsString()The currency in which thelimitPriceamount is specified.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ReservedInstanceLimitPrice.Builder>serializableBuilderClass()ReservedInstanceLimitPrice.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
amount
public final Double amount()
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
- Returns:
- Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
-
currencyCode
public final CurrencyCodeValues currencyCode()
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.If the service returns an enum value that is not available in the current SDK version,
currencyCodewill returnCurrencyCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- Returns:
- The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD. - See Also:
CurrencyCodeValues
-
currencyCodeAsString
public final String currencyCodeAsString()
The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD.If the service returns an enum value that is not available in the current SDK version,
currencyCodewill returnCurrencyCodeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyCodeAsString().- Returns:
- The currency in which the
limitPriceamount is specified. At this time, the only supported currency isUSD. - See Also:
CurrencyCodeValues
-
toBuilder
public ReservedInstanceLimitPrice.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
-
builder
public static ReservedInstanceLimitPrice.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservedInstanceLimitPrice.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-