Interface InternalAccessAnalysisRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InternalAccessAnalysisRule.Builder,
,InternalAccessAnalysisRule> SdkBuilder<InternalAccessAnalysisRule.Builder,
,InternalAccessAnalysisRule> SdkPojo
- Enclosing class:
InternalAccessAnalysisRule
@Mutable
@NotThreadSafe
public static interface InternalAccessAnalysisRule.Builder
extends SdkPojo, CopyableBuilder<InternalAccessAnalysisRule.Builder,InternalAccessAnalysisRule>
-
Method Summary
Modifier and TypeMethodDescriptioninclusions
(Collection<InternalAccessAnalysisRuleCriteria> inclusions) A list of rules for the internal access analyzer containing criteria to include in analysis.inclusions
(Consumer<InternalAccessAnalysisRuleCriteria.Builder>... inclusions) A list of rules for the internal access analyzer containing criteria to include in analysis.inclusions
(InternalAccessAnalysisRuleCriteria... inclusions) A list of rules for the internal access analyzer containing criteria to include in 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 Details
-
inclusions
InternalAccessAnalysisRule.Builder inclusions(Collection<InternalAccessAnalysisRuleCriteria> inclusions) A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.
- Parameters:
inclusions
- A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusions
A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.
- Parameters:
inclusions
- A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inclusions
InternalAccessAnalysisRule.Builder inclusions(Consumer<InternalAccessAnalysisRuleCriteria.Builder>... inclusions) A list of rules for the internal access analyzer containing criteria to include in analysis. Only resources that meet the rule criteria will generate findings.
This is a convenience method that creates an instance of theInternalAccessAnalysisRuleCriteria.Builder
avoiding the need to create one manually viaInternalAccessAnalysisRuleCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinclusions(List<InternalAccessAnalysisRuleCriteria>)
.- Parameters:
inclusions
- a consumer that will call methods onInternalAccessAnalysisRuleCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-