public static interface GetUsageStatisticsRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetUsageStatisticsRequest.Builder |
filterBy(Collection<UsageStatisticsFilter> filterBy)
An array of objects, one for each condition to use to filter the query results.
|
GetUsageStatisticsRequest.Builder |
filterBy(Consumer<UsageStatisticsFilter.Builder>... filterBy)
An array of objects, one for each condition to use to filter the query results.
|
GetUsageStatisticsRequest.Builder |
filterBy(UsageStatisticsFilter... filterBy)
An array of objects, one for each condition to use to filter the query results.
|
GetUsageStatisticsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to include in each page of the response.
|
GetUsageStatisticsRequest.Builder |
nextToken(String nextToken)
The nextToken string that specifies which page of results to return in a paginated response.
|
GetUsageStatisticsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetUsageStatisticsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default GetUsageStatisticsRequest.Builder |
sortBy(Consumer<UsageStatisticsSortBy.Builder> sortBy)
The criteria to use to sort the query results.
|
GetUsageStatisticsRequest.Builder |
sortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
|
GetUsageStatisticsRequest.Builder |
timeRange(String timeRange)
The inclusive time period to query usage data for.
|
GetUsageStatisticsRequest.Builder |
timeRange(TimeRange timeRange)
The inclusive time period to query usage data for.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUsageStatisticsRequest.Builder filterBy(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.GetUsageStatisticsRequest.Builder filterBy(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.GetUsageStatisticsRequest.Builder filterBy(Consumer<UsageStatisticsFilter.Builder>... 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.
This is a convenience method that creates an instance of theUsageStatisticsFilter.Builder avoiding the need to
create one manually via UsageStatisticsFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #filterBy(List.
filterBy - a consumer that will call methods on
UsageStatisticsFilter.Builder#filterBy(java.util.Collection) GetUsageStatisticsRequest.Builder maxResults(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.GetUsageStatisticsRequest.Builder nextToken(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.GetUsageStatisticsRequest.Builder sortBy(UsageStatisticsSortBy sortBy)
The criteria to use to sort the query results.
sortBy - The criteria to use to sort the query results.default GetUsageStatisticsRequest.Builder sortBy(Consumer<UsageStatisticsSortBy.Builder> sortBy)
The criteria to use to sort the query results.
This is a convenience method that creates an instance of theUsageStatisticsSortBy.Builder avoiding
the need to create one manually via UsageStatisticsSortBy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sortBy(UsageStatisticsSortBy).
sortBy - a consumer that will call methods on UsageStatisticsSortBy.BuildersortBy(UsageStatisticsSortBy)GetUsageStatisticsRequest.Builder timeRange(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,
TimeRangeGetUsageStatisticsRequest.Builder timeRange(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,
TimeRangeGetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetUsageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.