@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSavingsPlansOfferingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeSavingsPlansOfferingsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSavingsPlansOfferingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCurrencies()
The currencies.
|
List<String> |
getDescriptions()
The descriptions.
|
List<Long> |
getDurations()
The durations, in seconds.
|
List<SavingsPlanOfferingFilterElement> |
getFilters()
The filters.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getOfferingIds()
The IDs of the offerings.
|
List<String> |
getOperations()
The specific AWS operation for the line item in the billing report.
|
List<String> |
getPaymentOptions()
The payment options.
|
List<String> |
getPlanTypes()
The plan type.
|
String |
getProductType()
The product type.
|
List<String> |
getServiceCodes()
The services.
|
List<String> |
getUsageTypes()
The usage details of the line item in the billing report.
|
int |
hashCode() |
void |
setCurrencies(Collection<String> currencies)
The currencies.
|
void |
setDescriptions(Collection<String> descriptions)
The descriptions.
|
void |
setDurations(Collection<Long> durations)
The durations, in seconds.
|
void |
setFilters(Collection<SavingsPlanOfferingFilterElement> filters)
The filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setOfferingIds(Collection<String> offeringIds)
The IDs of the offerings.
|
void |
setOperations(Collection<String> operations)
The specific AWS operation for the line item in the billing report.
|
void |
setPaymentOptions(Collection<String> paymentOptions)
The payment options.
|
void |
setPlanTypes(Collection<String> planTypes)
The plan type.
|
void |
setProductType(String productType)
The product type.
|
void |
setServiceCodes(Collection<String> serviceCodes)
The services.
|
void |
setUsageTypes(Collection<String> usageTypes)
The usage details of the line item in the billing report.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSavingsPlansOfferingsRequest |
withCurrencies(Collection<String> currencies)
The currencies.
|
DescribeSavingsPlansOfferingsRequest |
withCurrencies(CurrencyCode... currencies)
The currencies.
|
DescribeSavingsPlansOfferingsRequest |
withCurrencies(String... currencies)
The currencies.
|
DescribeSavingsPlansOfferingsRequest |
withDescriptions(Collection<String> descriptions)
The descriptions.
|
DescribeSavingsPlansOfferingsRequest |
withDescriptions(String... descriptions)
The descriptions.
|
DescribeSavingsPlansOfferingsRequest |
withDurations(Collection<Long> durations)
The durations, in seconds.
|
DescribeSavingsPlansOfferingsRequest |
withDurations(Long... durations)
The durations, in seconds.
|
DescribeSavingsPlansOfferingsRequest |
withFilters(Collection<SavingsPlanOfferingFilterElement> filters)
The filters.
|
DescribeSavingsPlansOfferingsRequest |
withFilters(SavingsPlanOfferingFilterElement... filters)
The filters.
|
DescribeSavingsPlansOfferingsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeSavingsPlansOfferingsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribeSavingsPlansOfferingsRequest |
withOfferingIds(Collection<String> offeringIds)
The IDs of the offerings.
|
DescribeSavingsPlansOfferingsRequest |
withOfferingIds(String... offeringIds)
The IDs of the offerings.
|
DescribeSavingsPlansOfferingsRequest |
withOperations(Collection<String> operations)
The specific AWS operation for the line item in the billing report.
|
DescribeSavingsPlansOfferingsRequest |
withOperations(String... operations)
The specific AWS operation for the line item in the billing report.
|
DescribeSavingsPlansOfferingsRequest |
withPaymentOptions(Collection<String> paymentOptions)
The payment options.
|
DescribeSavingsPlansOfferingsRequest |
withPaymentOptions(SavingsPlanPaymentOption... paymentOptions)
The payment options.
|
DescribeSavingsPlansOfferingsRequest |
withPaymentOptions(String... paymentOptions)
The payment options.
|
DescribeSavingsPlansOfferingsRequest |
withPlanTypes(Collection<String> planTypes)
The plan type.
|
DescribeSavingsPlansOfferingsRequest |
withPlanTypes(SavingsPlanType... planTypes)
The plan type.
|
DescribeSavingsPlansOfferingsRequest |
withPlanTypes(String... planTypes)
The plan type.
|
DescribeSavingsPlansOfferingsRequest |
withProductType(SavingsPlanProductType productType)
The product type.
|
DescribeSavingsPlansOfferingsRequest |
withProductType(String productType)
The product type.
|
DescribeSavingsPlansOfferingsRequest |
withServiceCodes(Collection<String> serviceCodes)
The services.
|
DescribeSavingsPlansOfferingsRequest |
withServiceCodes(String... serviceCodes)
The services.
|
DescribeSavingsPlansOfferingsRequest |
withUsageTypes(Collection<String> usageTypes)
The usage details of the line item in the billing report.
|
DescribeSavingsPlansOfferingsRequest |
withUsageTypes(String... usageTypes)
The usage details of the line item in the billing report.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeSavingsPlansOfferingsRequest()
public List<String> getOfferingIds()
The IDs of the offerings.
public void setOfferingIds(Collection<String> offeringIds)
The IDs of the offerings.
offeringIds
- The IDs of the offerings.public DescribeSavingsPlansOfferingsRequest withOfferingIds(String... offeringIds)
The IDs of the offerings.
NOTE: This method appends the values to the existing list (if any). Use
setOfferingIds(java.util.Collection)
or withOfferingIds(java.util.Collection)
if you want to
override the existing values.
offeringIds
- The IDs of the offerings.public DescribeSavingsPlansOfferingsRequest withOfferingIds(Collection<String> offeringIds)
The IDs of the offerings.
offeringIds
- The IDs of the offerings.public List<String> getPaymentOptions()
The payment options.
SavingsPlanPaymentOption
public void setPaymentOptions(Collection<String> paymentOptions)
The payment options.
paymentOptions
- The payment options.SavingsPlanPaymentOption
public DescribeSavingsPlansOfferingsRequest withPaymentOptions(String... paymentOptions)
The payment options.
NOTE: This method appends the values to the existing list (if any). Use
setPaymentOptions(java.util.Collection)
or withPaymentOptions(java.util.Collection)
if you want
to override the existing values.
paymentOptions
- The payment options.SavingsPlanPaymentOption
public DescribeSavingsPlansOfferingsRequest withPaymentOptions(Collection<String> paymentOptions)
The payment options.
paymentOptions
- The payment options.SavingsPlanPaymentOption
public DescribeSavingsPlansOfferingsRequest withPaymentOptions(SavingsPlanPaymentOption... paymentOptions)
The payment options.
paymentOptions
- The payment options.SavingsPlanPaymentOption
public void setProductType(String productType)
The product type.
productType
- The product type.SavingsPlanProductType
public String getProductType()
The product type.
SavingsPlanProductType
public DescribeSavingsPlansOfferingsRequest withProductType(String productType)
The product type.
productType
- The product type.SavingsPlanProductType
public DescribeSavingsPlansOfferingsRequest withProductType(SavingsPlanProductType productType)
The product type.
productType
- The product type.SavingsPlanProductType
public List<String> getPlanTypes()
The plan type.
SavingsPlanType
public void setPlanTypes(Collection<String> planTypes)
The plan type.
planTypes
- The plan type.SavingsPlanType
public DescribeSavingsPlansOfferingsRequest withPlanTypes(String... planTypes)
The plan type.
NOTE: This method appends the values to the existing list (if any). Use
setPlanTypes(java.util.Collection)
or withPlanTypes(java.util.Collection)
if you want to
override the existing values.
planTypes
- The plan type.SavingsPlanType
public DescribeSavingsPlansOfferingsRequest withPlanTypes(Collection<String> planTypes)
The plan type.
planTypes
- The plan type.SavingsPlanType
public DescribeSavingsPlansOfferingsRequest withPlanTypes(SavingsPlanType... planTypes)
The plan type.
planTypes
- The plan type.SavingsPlanType
public List<Long> getDurations()
The durations, in seconds.
public void setDurations(Collection<Long> durations)
The durations, in seconds.
durations
- The durations, in seconds.public DescribeSavingsPlansOfferingsRequest withDurations(Long... durations)
The durations, in seconds.
NOTE: This method appends the values to the existing list (if any). Use
setDurations(java.util.Collection)
or withDurations(java.util.Collection)
if you want to
override the existing values.
durations
- The durations, in seconds.public DescribeSavingsPlansOfferingsRequest withDurations(Collection<Long> durations)
The durations, in seconds.
durations
- The durations, in seconds.public List<String> getCurrencies()
The currencies.
CurrencyCode
public void setCurrencies(Collection<String> currencies)
The currencies.
currencies
- The currencies.CurrencyCode
public DescribeSavingsPlansOfferingsRequest withCurrencies(String... currencies)
The currencies.
NOTE: This method appends the values to the existing list (if any). Use
setCurrencies(java.util.Collection)
or withCurrencies(java.util.Collection)
if you want to
override the existing values.
currencies
- The currencies.CurrencyCode
public DescribeSavingsPlansOfferingsRequest withCurrencies(Collection<String> currencies)
The currencies.
currencies
- The currencies.CurrencyCode
public DescribeSavingsPlansOfferingsRequest withCurrencies(CurrencyCode... currencies)
The currencies.
currencies
- The currencies.CurrencyCode
public void setDescriptions(Collection<String> descriptions)
The descriptions.
descriptions
- The descriptions.public DescribeSavingsPlansOfferingsRequest withDescriptions(String... descriptions)
The descriptions.
NOTE: This method appends the values to the existing list (if any). Use
setDescriptions(java.util.Collection)
or withDescriptions(java.util.Collection)
if you want to
override the existing values.
descriptions
- The descriptions.public DescribeSavingsPlansOfferingsRequest withDescriptions(Collection<String> descriptions)
The descriptions.
descriptions
- The descriptions.public void setServiceCodes(Collection<String> serviceCodes)
The services.
serviceCodes
- The services.public DescribeSavingsPlansOfferingsRequest withServiceCodes(String... serviceCodes)
The services.
NOTE: This method appends the values to the existing list (if any). Use
setServiceCodes(java.util.Collection)
or withServiceCodes(java.util.Collection)
if you want to
override the existing values.
serviceCodes
- The services.public DescribeSavingsPlansOfferingsRequest withServiceCodes(Collection<String> serviceCodes)
The services.
serviceCodes
- The services.public List<String> getUsageTypes()
The usage details of the line item in the billing report.
public void setUsageTypes(Collection<String> usageTypes)
The usage details of the line item in the billing report.
usageTypes
- The usage details of the line item in the billing report.public DescribeSavingsPlansOfferingsRequest withUsageTypes(String... usageTypes)
The usage details of the line item in the billing report.
NOTE: This method appends the values to the existing list (if any). Use
setUsageTypes(java.util.Collection)
or withUsageTypes(java.util.Collection)
if you want to
override the existing values.
usageTypes
- The usage details of the line item in the billing report.public DescribeSavingsPlansOfferingsRequest withUsageTypes(Collection<String> usageTypes)
The usage details of the line item in the billing report.
usageTypes
- The usage details of the line item in the billing report.public List<String> getOperations()
The specific AWS operation for the line item in the billing report.
public void setOperations(Collection<String> operations)
The specific AWS operation for the line item in the billing report.
operations
- The specific AWS operation for the line item in the billing report.public DescribeSavingsPlansOfferingsRequest withOperations(String... operations)
The specific AWS operation for the line item in the billing report.
NOTE: This method appends the values to the existing list (if any). Use
setOperations(java.util.Collection)
or withOperations(java.util.Collection)
if you want to
override the existing values.
operations
- The specific AWS operation for the line item in the billing report.public DescribeSavingsPlansOfferingsRequest withOperations(Collection<String> operations)
The specific AWS operation for the line item in the billing report.
operations
- The specific AWS operation for the line item in the billing report.public List<SavingsPlanOfferingFilterElement> getFilters()
The filters.
public void setFilters(Collection<SavingsPlanOfferingFilterElement> filters)
The filters.
filters
- The filters.public DescribeSavingsPlansOfferingsRequest withFilters(SavingsPlanOfferingFilterElement... filters)
The filters.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.public DescribeSavingsPlansOfferingsRequest withFilters(Collection<SavingsPlanOfferingFilterElement> filters)
The filters.
filters
- The filters.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public DescribeSavingsPlansOfferingsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public void setMaxResults(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.
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 Integer getMaxResults()
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 withMaxResults(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.
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 String toString()
toString
in class Object
Object.toString()
public DescribeSavingsPlansOfferingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()