@Generated(value="software.amazon.awssdk:codegen") public final class DescribeSavingsPlansOfferingsRequest extends SavingsplansRequest implements ToCopyableBuilder<DescribeSavingsPlansOfferingsRequest.Builder,DescribeSavingsPlansOfferingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeSavingsPlansOfferingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeSavingsPlansOfferingsRequest.Builder |
builder() |
List<CurrencyCode> |
currencies()
The currencies.
|
List<String> |
currenciesAsStrings()
The currencies.
|
List<String> |
descriptions()
The descriptions.
|
List<Long> |
durations()
The durations, in seconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<SavingsPlanOfferingFilterElement> |
filters()
The filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCurrencies()
For responses, this returns true if the service returned a value for the Currencies property.
|
boolean |
hasDescriptions()
For responses, this returns true if the service returned a value for the Descriptions property.
|
boolean |
hasDurations()
For responses, this returns true if the service returned a value for the Durations property.
|
boolean |
hasFilters()
For responses, this returns true if the service returned a value for the Filters property.
|
int |
hashCode() |
boolean |
hasOfferingIds()
For responses, this returns true if the service returned a value for the OfferingIds property.
|
boolean |
hasOperations()
For responses, this returns true if the service returned a value for the Operations property.
|
boolean |
hasPaymentOptions()
For responses, this returns true if the service returned a value for the PaymentOptions property.
|
boolean |
hasPlanTypes()
For responses, this returns true if the service returned a value for the PlanTypes property.
|
boolean |
hasServiceCodes()
For responses, this returns true if the service returned a value for the ServiceCodes property.
|
boolean |
hasUsageTypes()
For responses, this returns true if the service returned a value for the UsageTypes property.
|
Integer |
maxResults()
The maximum number of results to return with a single call.
|
String |
nextToken()
The token for the next page of results.
|
List<String> |
offeringIds()
The IDs of the offerings.
|
List<String> |
operations()
The specific AWS operation for the line item in the billing report.
|
List<SavingsPlanPaymentOption> |
paymentOptions()
The payment options.
|
List<String> |
paymentOptionsAsStrings()
The payment options.
|
List<SavingsPlanType> |
planTypes()
The plan type.
|
List<String> |
planTypesAsStrings()
The plan type.
|
SavingsPlanProductType |
productType()
The product type.
|
String |
productTypeAsString()
The product type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeSavingsPlansOfferingsRequest.Builder> |
serializableBuilderClass() |
List<String> |
serviceCodes()
The services.
|
DescribeSavingsPlansOfferingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
usageTypes()
The usage details of the line item in the billing report.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasOfferingIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> offeringIds()
The IDs of the offerings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOfferingIds() method.
public final List<SavingsPlanPaymentOption> paymentOptions()
The payment options.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPaymentOptions() method.
public final boolean hasPaymentOptions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> paymentOptionsAsStrings()
The payment options.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPaymentOptions() method.
public final SavingsPlanProductType productType()
The product type.
If the service returns an enum value that is not available in the current SDK version, productType will
return SavingsPlanProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productTypeAsString().
SavingsPlanProductTypepublic final String productTypeAsString()
The product type.
If the service returns an enum value that is not available in the current SDK version, productType will
return SavingsPlanProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productTypeAsString().
SavingsPlanProductTypepublic final List<SavingsPlanType> planTypes()
The plan type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPlanTypes() method.
public final boolean hasPlanTypes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> planTypesAsStrings()
The plan type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPlanTypes() method.
public final boolean hasDurations()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Long> durations()
The durations, in seconds.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDurations() method.
public final List<CurrencyCode> currencies()
The currencies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCurrencies() method.
public final boolean hasCurrencies()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> currenciesAsStrings()
The currencies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCurrencies() method.
public final boolean hasDescriptions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> descriptions()
The descriptions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDescriptions() method.
public final boolean hasServiceCodes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> serviceCodes()
The services.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasServiceCodes() method.
public final boolean hasUsageTypes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> usageTypes()
The usage details of the line item in the billing report.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUsageTypes() method.
public final boolean hasOperations()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> operations()
The specific AWS operation for the line item in the billing report.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOperations() method.
public final boolean hasFilters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<SavingsPlanOfferingFilterElement> filters()
The filters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilters() method.
public final String nextToken()
The token for the next page of results.
public final Integer maxResults()
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
public DescribeSavingsPlansOfferingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeSavingsPlansOfferingsRequest.Builder,DescribeSavingsPlansOfferingsRequest>toBuilder in class SavingsplansRequestpublic static DescribeSavingsPlansOfferingsRequest.Builder builder()
public static Class<? extends DescribeSavingsPlansOfferingsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.