@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSavingsPlanRatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeSavingsPlanRatesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSavingsPlanRatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<SavingsPlanRateFilter> |
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.
|
String |
getSavingsPlanId()
The ID of the Savings Plan.
|
int |
hashCode() |
void |
setFilters(Collection<SavingsPlanRateFilter> 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 |
setSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSavingsPlanRatesRequest |
withFilters(Collection<SavingsPlanRateFilter> filters)
The filters.
|
DescribeSavingsPlanRatesRequest |
withFilters(SavingsPlanRateFilter... filters)
The filters.
|
DescribeSavingsPlanRatesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
DescribeSavingsPlanRatesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
DescribeSavingsPlanRatesRequest |
withSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
|
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 void setSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
savingsPlanId
- The ID of the Savings Plan.public String getSavingsPlanId()
The ID of the Savings Plan.
public DescribeSavingsPlanRatesRequest withSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
savingsPlanId
- The ID of the Savings Plan.public List<SavingsPlanRateFilter> getFilters()
The filters.
public void setFilters(Collection<SavingsPlanRateFilter> filters)
The filters.
filters
- The filters.public DescribeSavingsPlanRatesRequest withFilters(SavingsPlanRateFilter... 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 DescribeSavingsPlanRatesRequest withFilters(Collection<SavingsPlanRateFilter> 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 DescribeSavingsPlanRatesRequest 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 DescribeSavingsPlanRatesRequest 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 DescribeSavingsPlanRatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()