Class ReservedInstanceOptions
- java.lang.Object
-
- software.amazon.awssdk.services.applicationdiscovery.model.ReservedInstanceOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstanceOptions.Builder,ReservedInstanceOptions>
@Generated("software.amazon.awssdk:codegen") public final class ReservedInstanceOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservedInstanceOptions.Builder,ReservedInstanceOptions>
Used to provide Reserved Instance preferences for the recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedInstanceOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReservedInstanceOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OfferingClassofferingClass()The flexibility to change the instance types needed for your Reserved Instance.StringofferingClassAsString()The flexibility to change the instance types needed for your Reserved Instance.PurchasingOptionpurchasingOption()The payment plan to use for your Reserved Instance.StringpurchasingOptionAsString()The payment plan to use for your Reserved Instance.List<SdkField<?>>sdkFields()static Class<? extends ReservedInstanceOptions.Builder>serializableBuilderClass()TermLengthtermLength()The preferred duration of the Reserved Instance term.StringtermLengthAsString()The preferred duration of the Reserved Instance term.ReservedInstanceOptions.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
-
purchasingOption
public final PurchasingOption purchasingOption()
The payment plan to use for your Reserved Instance.
If the service returns an enum value that is not available in the current SDK version,
purchasingOptionwill returnPurchasingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompurchasingOptionAsString().- Returns:
- The payment plan to use for your Reserved Instance.
- See Also:
PurchasingOption
-
purchasingOptionAsString
public final String purchasingOptionAsString()
The payment plan to use for your Reserved Instance.
If the service returns an enum value that is not available in the current SDK version,
purchasingOptionwill returnPurchasingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompurchasingOptionAsString().- Returns:
- The payment plan to use for your Reserved Instance.
- See Also:
PurchasingOption
-
offeringClass
public final OfferingClass offeringClass()
The flexibility to change the instance types needed for your Reserved Instance.
If the service returns an enum value that is not available in the current SDK version,
offeringClasswill returnOfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromofferingClassAsString().- Returns:
- The flexibility to change the instance types needed for your Reserved Instance.
- See Also:
OfferingClass
-
offeringClassAsString
public final String offeringClassAsString()
The flexibility to change the instance types needed for your Reserved Instance.
If the service returns an enum value that is not available in the current SDK version,
offeringClasswill returnOfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromofferingClassAsString().- Returns:
- The flexibility to change the instance types needed for your Reserved Instance.
- See Also:
OfferingClass
-
termLength
public final TermLength termLength()
The preferred duration of the Reserved Instance term.
If the service returns an enum value that is not available in the current SDK version,
termLengthwill returnTermLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtermLengthAsString().- Returns:
- The preferred duration of the Reserved Instance term.
- See Also:
TermLength
-
termLengthAsString
public final String termLengthAsString()
The preferred duration of the Reserved Instance term.
If the service returns an enum value that is not available in the current SDK version,
termLengthwill returnTermLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtermLengthAsString().- Returns:
- The preferred duration of the Reserved Instance term.
- See Also:
TermLength
-
toBuilder
public ReservedInstanceOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstanceOptions.Builder,ReservedInstanceOptions>
-
builder
public static ReservedInstanceOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservedInstanceOptions.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.
-
-