Interface GetUsageStatisticsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetUsageStatisticsRequest.Builder,
,GetUsageStatisticsRequest> Macie2Request.Builder
,SdkBuilder<GetUsageStatisticsRequest.Builder,
,GetUsageStatisticsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetUsageStatisticsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilterBy
(Collection<UsageStatisticsFilter> filterBy) An array of objects, one for each condition to use to filter the query results.filterBy
(Consumer<UsageStatisticsFilter.Builder>... filterBy) An array of objects, one for each condition to use to filter the query results.filterBy
(UsageStatisticsFilter... filterBy) An array of objects, one for each condition to use to filter the query results.maxResults
(Integer maxResults) The maximum number of items to include in each page of the response.The nextToken string that specifies which page of results to return in a paginated response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortBy
(Consumer<UsageStatisticsSortBy.Builder> sortBy) The criteria to use to sort the query results.sortBy
(UsageStatisticsSortBy sortBy) The criteria to use to sort the query results.The inclusive time period to query usage data for.The inclusive time period to query usage data for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUsageStatisticsFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterBy(List<UsageStatisticsFilter>)
.- Parameters:
filterBy
- a consumer that will call methods onUsageStatisticsFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to include in each page of the response.
- Parameters:
maxResults
- The maximum number of items to include in each page of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The nextToken string that specifies which page of results to return in a paginated response.
- Parameters:
nextToken
- The nextToken string that specifies which page of results to return in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The criteria to use to sort the query results.
- Parameters:
sortBy
- The criteria to use to sort the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUsageStatisticsSortBy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortBy(UsageStatisticsSortBy)
.- Parameters:
sortBy
- a consumer that will call methods onUsageStatisticsSortBy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-