Interface Insight.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Insight.Builder,Insight>,SdkBuilder<Insight.Builder,Insight>,SdkPojo
- Enclosing class:
- Insight
public static interface Insight.Builder extends SdkPojo, CopyableBuilder<Insight.Builder,Insight>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Insight.Builderfilters(Consumer<AwsSecurityFindingFilters.Builder> filters)One or more attributes used to filter the findings included in the insight.Insight.Builderfilters(AwsSecurityFindingFilters filters)One or more attributes used to filter the findings included in the insight.Insight.BuildergroupByAttribute(String groupByAttribute)The grouping attribute for the insight's findings.Insight.BuilderinsightArn(String insightArn)The ARN of a Security Hub insight.Insight.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
insightArn
Insight.Builder insightArn(String 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
Insight.Builder name(String 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
Insight.Builder filters(AwsSecurityFindingFilters 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
default Insight.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> 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.Builderavoiding the need to create one manually viaAwsSecurityFindingFilters.builder().When the
Consumercompletes,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:
filters(AwsSecurityFindingFilters)
-
groupByAttribute
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.
- 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.
-
-