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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaUsageStatisticsFilter.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaUsageStatisticsSortBy.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-