Interface GroupByRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupByRule.Builder,,GroupByRule> SdkBuilder<GroupByRule.Builder,,GroupByRule> SdkPojo
- Enclosing class:
GroupByRule
@Mutable
@NotThreadSafe
public static interface GroupByRule.Builder
extends SdkPojo, CopyableBuilder<GroupByRule.Builder,GroupByRule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GroupByRule.Builderfilters(Consumer<OcsfFindingFilters.Builder> filters) The criteria used to select which security findings should be included in the grouping operation.filters(OcsfFindingFilters filters) The criteria used to select which security findings should be included in the grouping operation.groupByField(String groupByField) The attribute by which filtered findings should be grouped.groupByField(GroupByField groupByField) The attribute by which filtered findings should be grouped.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filters
The criteria used to select which security findings should be included in the grouping operation.
- Parameters:
filters- The criteria used to select which security findings should be included in the grouping operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The criteria used to select which security findings should be included in the grouping operation.
This is a convenience method that creates an instance of theOcsfFindingFilters.Builderavoiding the need to create one manually viaOcsfFindingFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(OcsfFindingFilters).- Parameters:
filters- a consumer that will call methods onOcsfFindingFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByField
The attribute by which filtered findings should be grouped.
- Parameters:
groupByField- The attribute by which filtered findings should be grouped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByField
The attribute by which filtered findings should be grouped.
- Parameters:
groupByField- The attribute by which filtered findings should be grouped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-