Interface GetUsageStatisticsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>,Macie2Request.Builder,SdkBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetUsageStatisticsRequest
public static interface GetUsageStatisticsRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<GetUsageStatisticsRequest.Builder,GetUsageStatisticsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetUsageStatisticsRequest.BuilderfilterBy(Collection<UsageStatisticsFilter> filterBy)An array of objects, one for each condition to use to filter the query results.GetUsageStatisticsRequest.BuilderfilterBy(Consumer<UsageStatisticsFilter.Builder>... filterBy)An array of objects, one for each condition to use to filter the query results.GetUsageStatisticsRequest.BuilderfilterBy(UsageStatisticsFilter... filterBy)An array of objects, one for each condition to use to filter the query results.GetUsageStatisticsRequest.BuildermaxResults(Integer maxResults)The maximum number of items to include in each page of the response.GetUsageStatisticsRequest.BuildernextToken(String nextToken)The nextToken string that specifies which page of results to return in a paginated response.GetUsageStatisticsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetUsageStatisticsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default GetUsageStatisticsRequest.BuildersortBy(Consumer<UsageStatisticsSortBy.Builder> sortBy)The criteria to use to sort the query results.GetUsageStatisticsRequest.BuildersortBy(UsageStatisticsSortBy sortBy)The criteria to use to sort the query results.GetUsageStatisticsRequest.BuildertimeRange(String timeRange)The inclusive time period to query usage data for.GetUsageStatisticsRequest.BuildertimeRange(TimeRange timeRange)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 Detail
-
filterBy
GetUsageStatisticsRequest.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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaUsageStatisticsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filterBy(List.) - 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:
#filterBy(java.util.Collection)
-
maxResults
GetUsageStatisticsRequest.Builder maxResults(Integer 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
GetUsageStatisticsRequest.Builder nextToken(String 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
GetUsageStatisticsRequest.Builder sortBy(UsageStatisticsSortBy 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
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.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:
sortBy(UsageStatisticsSortBy)
-
timeRange
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.
- 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,TimeRange
-
timeRange
GetUsageStatisticsRequest.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.
- 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,TimeRange
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetUsageStatisticsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-