@Generated(value="software.amazon.awssdk:codegen") public final class ParentSavingsPlanOffering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParentSavingsPlanOffering.Builder,ParentSavingsPlanOffering>
Information about a Savings Plan offering.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParentSavingsPlanOffering.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ParentSavingsPlanOffering.Builder |
builder() |
CurrencyCode |
currency()
The currency.
|
String |
currencyAsString()
The currency.
|
Long |
durationSeconds()
The duration, in seconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
offeringId()
The ID of the offering.
|
SavingsPlanPaymentOption |
paymentOption()
The payment option.
|
String |
paymentOptionAsString()
The payment option.
|
String |
planDescription()
The description.
|
SavingsPlanType |
planType()
The plan type.
|
String |
planTypeAsString()
The plan type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ParentSavingsPlanOffering.Builder> |
serializableBuilderClass() |
ParentSavingsPlanOffering.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String offeringId()
The ID of the offering.
public final SavingsPlanPaymentOption paymentOption()
The payment option.
If the service returns an enum value that is not available in the current SDK version, paymentOption
will return SavingsPlanPaymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from paymentOptionAsString().
SavingsPlanPaymentOptionpublic final String paymentOptionAsString()
The payment option.
If the service returns an enum value that is not available in the current SDK version, paymentOption
will return SavingsPlanPaymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from paymentOptionAsString().
SavingsPlanPaymentOptionpublic final SavingsPlanType planType()
The plan type.
If the service returns an enum value that is not available in the current SDK version, planType will
return SavingsPlanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
planTypeAsString().
SavingsPlanTypepublic final String planTypeAsString()
The plan type.
If the service returns an enum value that is not available in the current SDK version, planType will
return SavingsPlanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
planTypeAsString().
SavingsPlanTypepublic final Long durationSeconds()
The duration, in seconds.
public final CurrencyCode currency()
The currency.
If the service returns an enum value that is not available in the current SDK version, currency will
return CurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
CurrencyCodepublic final String currencyAsString()
The currency.
If the service returns an enum value that is not available in the current SDK version, currency will
return CurrencyCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
CurrencyCodepublic final String planDescription()
The description.
public ParentSavingsPlanOffering.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ParentSavingsPlanOffering.Builder,ParentSavingsPlanOffering>public static ParentSavingsPlanOffering.Builder builder()
public static Class<? extends ParentSavingsPlanOffering.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.