@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReservedInstanceOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReservedInstanceOptions.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OfferingClass |
offeringClass()
The flexibility to change the instance types needed for your Reserved Instance.
|
String |
offeringClassAsString()
The flexibility to change the instance types needed for your Reserved Instance.
|
PurchasingOption |
purchasingOption()
The payment plan to use for your Reserved Instance.
|
String |
purchasingOptionAsString()
The payment plan to use for your Reserved Instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReservedInstanceOptions.Builder> |
serializableBuilderClass() |
TermLength |
termLength()
The preferred duration of the Reserved Instance term.
|
String |
termLengthAsString()
The preferred duration of the Reserved Instance term.
|
ReservedInstanceOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, purchasingOption
will return PurchasingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from purchasingOptionAsString().
PurchasingOptionpublic 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, purchasingOption
will return PurchasingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from purchasingOptionAsString().
PurchasingOptionpublic 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, offeringClass
will return OfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
offeringClassAsString().
OfferingClasspublic 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, offeringClass
will return OfferingClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
offeringClassAsString().
OfferingClasspublic 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, termLength will
return TermLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
termLengthAsString().
TermLengthpublic 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, termLength will
return TermLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
termLengthAsString().
TermLengthpublic ReservedInstanceOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReservedInstanceOptions.Builder,ReservedInstanceOptions>public static ReservedInstanceOptions.Builder builder()
public static Class<? extends ReservedInstanceOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.