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
Modifier and TypeMethodDescriptionexclusions(Collection<AnalysisRuleCriteria> exclusions) A list of rules for the analyzer containing criteria to exclude from analysis.exclusions(Consumer<AnalysisRuleCriteria.Builder>... exclusions) A list of rules for the analyzer containing criteria to exclude from analysis.exclusions(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
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
-
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
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
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 toexclusions(List<AnalysisRuleCriteria>).- 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:
-