public static interface CreateInsightRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>
Modifier and Type | Method and Description |
---|---|
CreateInsightRequest.Builder |
filters(AwsSecurityFindingFilters filters)
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in
a subset of findings that are included in this insight.
|
default CreateInsightRequest.Builder |
filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in
a subset of findings that are included in this insight.
|
CreateInsightRequest.Builder |
groupByAttribute(String groupByAttribute)
The attribute by which the insight's findings are grouped.
|
CreateInsightRequest.Builder |
name(String name)
The user-defined name that identifies the insight that you want to create.
|
CreateInsightRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateInsightRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateInsightRequest.Builder name(String name)
The user-defined name that identifies the insight that you want to create.
name
- The user-defined name that identifies the insight that you want to create.CreateInsightRequest.Builder filters(AwsSecurityFindingFilters filters)
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a subset of findings that are included in this insight.
filters
- A collection of attributes that are applied to all active Security Hub-aggregated findings and that
result in a subset of findings that are included in this insight.default CreateInsightRequest.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
A collection of attributes that are applied to all active Security Hub-aggregated findings and that result in a subset of findings that are included in this insight.
This is a convenience that creates an instance of theAwsSecurityFindingFilters.Builder
avoiding the
need to create one manually via AwsSecurityFindingFilters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to filters(AwsSecurityFindingFilters)
.filters
- a consumer that will call methods on AwsSecurityFindingFilters.Builder
filters(AwsSecurityFindingFilters)
CreateInsightRequest.Builder groupByAttribute(String groupByAttribute)
The attribute by which the insight's findings are grouped. This attribute is used as a findings aggregator for the purposes of viewing and managing multiple related findings under a single operand.
groupByAttribute
- The attribute by which the insight's findings are grouped. This attribute is used as a findings
aggregator for the purposes of viewing and managing multiple related findings under a single operand.CreateInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.