@Generated(value="software.amazon.awssdk:codegen") public final class SavingsPlanOffering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlanOffering.Builder,SavingsPlanOffering>
Information about a Savings Plan offering.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SavingsPlanOffering.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SavingsPlanOffering.Builder |
builder() |
CurrencyCode |
currency()
The currency.
|
String |
currencyAsString()
The currency.
|
String |
description()
The description.
|
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.
|
String |
operation()
The specific AWS operation for the line item in the billing report.
|
SavingsPlanPaymentOption |
paymentOption()
The payment option.
|
String |
paymentOptionAsString()
The payment option.
|
SavingsPlanType |
planType()
The plan type.
|
String |
planTypeAsString()
The plan type.
|
List<SavingsPlanProductType> |
productTypes()
The product type.
|
List<String> |
productTypesAsStrings()
The product type.
|
List<SavingsPlanOfferingProperty> |
properties()
The properties.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SavingsPlanOffering.Builder> |
serializableBuilderClass() |
String |
serviceCode()
The service.
|
SavingsPlanOffering.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usageType()
The usage details of the line item in the billing report.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String offeringId()
The ID of the offering.
public List<SavingsPlanProductType> productTypes()
The product type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> productTypesAsStrings()
The product type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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 String description()
The description.
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 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 serviceCode()
The service.
public String usageType()
The usage details of the line item in the billing report.
public String operation()
The specific AWS operation for the line item in the billing report.
public List<SavingsPlanOfferingProperty> properties()
The properties.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SavingsPlanOffering.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SavingsPlanOffering.Builder,SavingsPlanOffering>public static SavingsPlanOffering.Builder builder()
public static Class<? extends SavingsPlanOffering.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.