Interface Insight.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Insight.Builder,
,Insight> SdkBuilder<Insight.Builder,
,Insight> SdkPojo
- Enclosing class:
Insight
-
Method Summary
Modifier and TypeMethodDescriptiondefault Insight.Builder
filters
(Consumer<AwsSecurityFindingFilters.Builder> filters) One or more attributes used to filter the findings included in the insight.filters
(AwsSecurityFindingFilters filters) One or more attributes used to filter the findings included in the insight.groupByAttribute
(String groupByAttribute) The grouping attribute for the insight's findings.insightArn
(String insightArn) The ARN of a Security Hub insight.The name of a Security Hub insight.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, sdkFields
-
Method Details
-
insightArn
The ARN of a Security Hub insight.
- Parameters:
insightArn
- The ARN of a Security Hub insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of a Security Hub insight.
- Parameters:
name
- The name of a Security Hub insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more attributes used to filter the findings included in the insight. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values. The insight only includes findings that match the criteria defined in the filters.
- Parameters:
filters
- One or more attributes used to filter the findings included in the insight. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values. The insight only includes findings that match the criteria defined in the filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
One or more attributes used to filter the findings included in the insight. You can filter by up to ten finding attributes. For each attribute, you can provide up to 20 filter values. 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 viaAwsSecurityFindingFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(AwsSecurityFindingFilters)
.- Parameters:
filters
- a consumer that will call methods onAwsSecurityFindingFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-