@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.
|
String |
getTimeRange()
The inclusive time period to query usage data for.
|
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.
|
void |
setTimeRange(String timeRange)
The inclusive time period to query usage data for.
|
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.
|
GetUsageStatisticsRequest |
withTimeRange(String timeRange)
The inclusive time period to query usage data for.
|
GetUsageStatisticsRequest |
withTimeRange(TimeRange timeRange)
The inclusive time period to query usage data for.
|
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 you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
public void setFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
filterBy
- An array of objects, one for each condition to use to filter the query results. If you specify more than
one condition, Amazon Macie uses an AND operator to join the conditions.public GetUsageStatisticsRequest withFilterBy(UsageStatisticsFilter... filterBy)
An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
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 you specify more than
one condition, Amazon Macie uses an AND operator to join the conditions.public GetUsageStatisticsRequest withFilterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
filterBy
- An array of objects, one for each condition to use to filter the query results. If you specify more than
one condition, Amazon Macie uses an AND operator to join the conditions.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 void setTimeRange(String timeRange)
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
timeRange
- The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current
calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon
Macie provides usage data for the preceding 30 days.TimeRange
public String getTimeRange()
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
TimeRange
public GetUsageStatisticsRequest withTimeRange(String timeRange)
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
timeRange
- The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current
calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon
Macie provides usage data for the preceding 30 days.TimeRange
public GetUsageStatisticsRequest withTimeRange(TimeRange timeRange)
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
timeRange
- The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current
calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon
Macie provides usage data for the preceding 30 days.TimeRange
public String toString()
toString
in class Object
Object.toString()
public GetUsageStatisticsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()