Interface GetFindingStatisticsV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingStatisticsV2Response.Builder,
,GetFindingStatisticsV2Response> SdkBuilder<GetFindingStatisticsV2Response.Builder,
,GetFindingStatisticsV2Response> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetFindingStatisticsV2Response
@Mutable
@NotThreadSafe
public static interface GetFindingStatisticsV2Response.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetFindingStatisticsV2Response.Builder,GetFindingStatisticsV2Response>
-
Method Summary
Modifier and TypeMethodDescriptiongroupByResults
(Collection<GroupByResult> groupByResults) Aggregated statistics about security findings based on specified grouping criteria.groupByResults
(Consumer<GroupByResult.Builder>... groupByResults) Aggregated statistics about security findings based on specified grouping criteria.groupByResults
(GroupByResult... groupByResults) Aggregated statistics about security findings based on specified grouping criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
groupByResults
Aggregated statistics about security findings based on specified grouping criteria.
- Parameters:
groupByResults
- Aggregated statistics about security findings based on specified grouping criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByResults
Aggregated statistics about security findings based on specified grouping criteria.
- Parameters:
groupByResults
- Aggregated statistics about security findings based on specified grouping criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByResults
GetFindingStatisticsV2Response.Builder groupByResults(Consumer<GroupByResult.Builder>... groupByResults) Aggregated statistics about security findings based on specified grouping criteria.
This is a convenience method that creates an instance of theGroupByResult.Builder
avoiding the need to create one manually viaGroupByResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupByResults(List<GroupByResult>)
.- Parameters:
groupByResults
- a consumer that will call methods onGroupByResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-