Interface AnalysisRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisRule.Builder,AnalysisRule>,SdkBuilder<AnalysisRule.Builder,AnalysisRule>,SdkPojo
- Enclosing class:
- AnalysisRule
public static interface AnalysisRule.Builder extends SdkPojo, CopyableBuilder<AnalysisRule.Builder,AnalysisRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalysisRule.Builderexclusions(Collection<AnalysisRuleCriteria> exclusions)A list of rules for the analyzer containing criteria to exclude from analysis.AnalysisRule.Builderexclusions(Consumer<AnalysisRuleCriteria.Builder>... exclusions)A list of rules for the analyzer containing criteria to exclude from analysis.AnalysisRule.Builderexclusions(AnalysisRuleCriteria... exclusions)A list of rules for the analyzer containing criteria to exclude from analysis.-
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
-
exclusions
AnalysisRule.Builder exclusions(Collection<AnalysisRuleCriteria> exclusions)
A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
- Parameters:
exclusions- A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusions
AnalysisRule.Builder exclusions(AnalysisRuleCriteria... exclusions)
A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
- Parameters:
exclusions- A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclusions
AnalysisRule.Builder exclusions(Consumer<AnalysisRuleCriteria.Builder>... exclusions)
A list of rules for the analyzer containing criteria to exclude from analysis. Entities that meet the rule criteria will not generate findings.
This is a convenience method that creates an instance of theAnalysisRuleCriteria.Builderavoiding the need to create one manually viaAnalysisRuleCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#exclusions(List.) - Parameters:
exclusions- a consumer that will call methods onAnalysisRuleCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#exclusions(java.util.Collection)
-
-