@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsageStatisticsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetUsageStatisticsRequest() |
Modifier and Type | Method and Description |
---|---|
GetUsageStatisticsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<UsageStatisticsFilter> |
getFilterBy()
An array of objects, one for each condition to use to filter the query results.
|
Integer |
getMaxResults()
The maximum number of items to include in each page of the response.
|
String |
getNextToken()
The nextToken string that specifies which page of results to return in a paginated response.
|
UsageStatisticsSortBy |
getSortBy()
The criteria to use to sort the query results.
|
int |
hashCode() |
void |
setFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to include in each page of the response.
|
void |
setNextToken(String nextToken)
The nextToken string that specifies which page of results to return in a paginated response.
|
void |
setSortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
|
String |
toString()
Returns a string representation of this object.
|
GetUsageStatisticsRequest |
withFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results.
|
GetUsageStatisticsRequest |
withFilterBy(UsageStatisticsFilter... filterBy)
An array of objects, one for each condition to use to filter the query results.
|
GetUsageStatisticsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to include in each page of the response.
|
GetUsageStatisticsRequest |
withNextToken(String nextToken)
The nextToken string that specifies which page of results to return in a paginated response.
|
GetUsageStatisticsRequest |
withSortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
|
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 List<UsageStatisticsFilter> getFilterBy()
An array of objects, one for each condition to use to filter the query results. If the array contains more than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.
public void setFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results. If the array contains more than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.
filterBy
- An array of objects, one for each condition to use to filter the query results. If the array contains more
than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.public GetUsageStatisticsRequest withFilterBy(UsageStatisticsFilter... filterBy)
An array of objects, one for each condition to use to filter the query results. If the array contains more than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.
NOTE: This method appends the values to the existing list (if any). Use
setFilterBy(java.util.Collection)
or withFilterBy(java.util.Collection)
if you want to override
the existing values.
filterBy
- An array of objects, one for each condition to use to filter the query results. If the array contains more
than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.public GetUsageStatisticsRequest withFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results. If the array contains more than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.
filterBy
- An array of objects, one for each condition to use to filter the query results. If the array contains more
than one object, Amazon Macie uses an AND operator to join the conditions specified by the objects.public void setMaxResults(Integer maxResults)
The maximum number of items to include in each page of the response.
maxResults
- The maximum number of items to include in each page of the response.public Integer getMaxResults()
The maximum number of items to include in each page of the response.
public GetUsageStatisticsRequest withMaxResults(Integer maxResults)
The maximum number of items to include in each page of the response.
maxResults
- The maximum number of items to include in each page of the response.public void setNextToken(String nextToken)
The nextToken string that specifies which page of results to return in a paginated response.
nextToken
- The nextToken string that specifies which page of results to return in a paginated response.public String getNextToken()
The nextToken string that specifies which page of results to return in a paginated response.
public GetUsageStatisticsRequest withNextToken(String nextToken)
The nextToken string that specifies which page of results to return in a paginated response.
nextToken
- The nextToken string that specifies which page of results to return in a paginated response.public void setSortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
sortBy
- The criteria to use to sort the query results.public UsageStatisticsSortBy getSortBy()
The criteria to use to sort the query results.
public GetUsageStatisticsRequest withSortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
sortBy
- The criteria to use to sort the query results.public String toString()
toString
in class Object
Object.toString()
public GetUsageStatisticsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()