Class CfnAnalyzer.InternalAccessAnalysisRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.InternalAccessAnalysisRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleProperty>
- Enclosing interface:
CfnAnalyzer.InternalAccessAnalysisRuleProperty
@Stability(Stable)
public static final class CfnAnalyzer.InternalAccessAnalysisRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleProperty>
A builder for
CfnAnalyzer.InternalAccessAnalysisRuleProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inclusions
(List<? extends Object> inclusions) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleProperty.getInclusions()
inclusions
(IResolvable inclusions) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleProperty.getInclusions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inclusions
@Stability(Stable) public CfnAnalyzer.InternalAccessAnalysisRuleProperty.Builder inclusions(IResolvable inclusions) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleProperty.getInclusions()
- 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:
this
-
inclusions
@Stability(Stable) public CfnAnalyzer.InternalAccessAnalysisRuleProperty.Builder inclusions(List<? extends Object> inclusions) Sets the value ofCfnAnalyzer.InternalAccessAnalysisRuleProperty.getInclusions()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalyzer.InternalAccessAnalysisRuleProperty>
- Returns:
- a new instance of
CfnAnalyzer.InternalAccessAnalysisRuleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-