@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsageTotalsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListUsageTotalsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListUsageTotalsRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The Amazon Web Services account IDs to retrieve usage totals for.
|
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListUsageTotalsRequest |
withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
|
ListUsageTotalsRequest |
withAccountIds(String... accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
|
ListUsageTotalsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
ListUsageTotalsRequest |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getAccountIds()
The Amazon Web Services account IDs to retrieve usage totals for.
public void setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
accountIds - The Amazon Web Services account IDs to retrieve usage totals for.public ListUsageTotalsRequest withAccountIds(String... accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection) or withAccountIds(java.util.Collection) if you want to
override the existing values.
accountIds - The Amazon Web Services account IDs to retrieve usage totals for.public ListUsageTotalsRequest withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
accountIds - The Amazon Web Services account IDs to retrieve usage totals for.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults - The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public ListUsageTotalsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults - The maximum number of results to return in the response.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListUsageTotalsRequest withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken value returned from
the previous request to continue listing results after the first page.
nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken value
returned from the previous request to continue listing results after the first page.public String toString()
toString in class ObjectObject.toString()public ListUsageTotalsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.