public static interface Insight.Builder extends SdkPojo, CopyableBuilder<Insight.Builder,Insight>
| Modifier and Type | Method and Description |
|---|---|
Insight.Builder |
filters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
default Insight.Builder |
filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
One or more attributes used to filter the findings included in the insight.
|
Insight.Builder |
groupByAttribute(String groupByAttribute)
The grouping attribute for the insight's findings.
|
Insight.Builder |
insightArn(String insightArn)
The ARN of a Security Hub insight.
|
Insight.Builder |
name(String name)
The name of a Security Hub insight.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInsight.Builder insightArn(String insightArn)
The ARN of a Security Hub insight.
insightArn - The ARN of a Security Hub insight.Insight.Builder name(String name)
The name of a Security Hub insight.
name - The name of a Security Hub insight.Insight.Builder filters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
filters - One or more attributes used to filter the findings included in the insight. The insight only includes
findings that match the criteria defined in the filters.default Insight.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
This is a convenience method 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.Builderfilters(AwsSecurityFindingFilters)Insight.Builder groupByAttribute(String groupByAttribute)
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
groupByAttribute - The grouping attribute for the insight's findings. Indicates how to group the matching findings, and
identifies the type of item that the insight applies to. For example, if an insight is grouped by
resource identifier, then the insight produces a list of resource identifiers.Copyright © 2023. All rights reserved.