Class ReservedInstanceLimitPrice
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
Describes the limit price of a Reserved Instance offering.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Doubleamount()Used for Reserved Instance Marketplace offerings.builder()final CurrencyCodeValuesThe currency in which thelimitPriceamount is specified.final StringThe currency in which thelimitPriceamount is specified.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ReservedInstanceLimitPrice.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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:
-
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:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstanceLimitPrice.Builder,ReservedInstanceLimitPrice>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-