Interface GetFindingStatisticsV2Request.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<GetFindingStatisticsV2Request.Builder,,GetFindingStatisticsV2Request> SdkBuilder<GetFindingStatisticsV2Request.Builder,,GetFindingStatisticsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
 GetFindingStatisticsV2Request
- 
Method Summary
Modifier and TypeMethodDescriptiongroupByRules(Collection<GroupByRule> groupByRules) Specifies how security findings should be aggregated and organized in the statistical analysis.groupByRules(Consumer<GroupByRule.Builder>... groupByRules) Specifies how security findings should be aggregated and organized in the statistical analysis.groupByRules(GroupByRule... groupByRules) Specifies how security findings should be aggregated and organized in the statistical analysis.maxStatisticResults(Integer maxStatisticResults) The maximum number of results to be returned.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Orders the aggregation count in descending or ascending order.Orders the aggregation count in descending or ascending order.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build 
- 
Method Details
- 
groupByRules
Specifies how security findings should be aggregated and organized in the statistical analysis. It can accept up to 5
groupByfields in a single call.- Parameters:
 groupByRules- Specifies how security findings should be aggregated and organized in the statistical analysis. It can accept up to 5groupByfields in a single call.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
groupByRules
Specifies how security findings should be aggregated and organized in the statistical analysis. It can accept up to 5
groupByfields in a single call.- Parameters:
 groupByRules- Specifies how security findings should be aggregated and organized in the statistical analysis. It can accept up to 5groupByfields in a single call.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
groupByRules
Specifies how security findings should be aggregated and organized in the statistical analysis. It can accept up to 5
This is a convenience method that creates an instance of thegroupByfields in a single call.GroupByRule.Builderavoiding the need to create one manually viaGroupByRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupByRules(List<GroupByRule>).- Parameters:
 groupByRules- a consumer that will call methods onGroupByRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
sortOrder
Orders the aggregation count in descending or ascending order. Descending order is the default.
- Parameters:
 sortOrder- Orders the aggregation count in descending or ascending order. Descending order is the default.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
sortOrder
Orders the aggregation count in descending or ascending order. Descending order is the default.
- Parameters:
 sortOrder- Orders the aggregation count in descending or ascending order. Descending order is the default.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
maxStatisticResults
The maximum number of results to be returned.
- Parameters:
 maxStatisticResults- The maximum number of results to be returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
GetFindingStatisticsV2Request.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
GetFindingStatisticsV2Request.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.
 
 
 -