@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 String offeringId()
The ID of the offering.
public 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 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 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 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 Long durationSeconds()
The duration, in seconds.
public 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 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 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.