Class CfnAnalyzer.FilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.FilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzer.FilterProperty>
- Enclosing interface:
CfnAnalyzer.FilterProperty
@Stability(Stable)
public static final class CfnAnalyzer.FilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzer.FilterProperty>
A builder for
CfnAnalyzer.FilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalyzer.FilterProperty.getContains()Sets the value ofCfnAnalyzer.FilterProperty.getEq()Sets the value ofCfnAnalyzer.FilterProperty.getExists()exists(IResolvable exists) Sets the value ofCfnAnalyzer.FilterProperty.getExists()Sets the value ofCfnAnalyzer.FilterProperty.getNeq()Sets the value ofCfnAnalyzer.FilterProperty.getProperty()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
property
Sets the value ofCfnAnalyzer.FilterProperty.getProperty()- Parameters:
property- The property used to define the criteria in the filter for the rule. This parameter is required.- Returns:
this
-
contains
Sets the value ofCfnAnalyzer.FilterProperty.getContains()- Parameters:
contains- A "contains" condition to match for the rule.- Returns:
this
-
eq
Sets the value ofCfnAnalyzer.FilterProperty.getEq()- Parameters:
eq- An "equals" condition to match for the rule.- Returns:
this
-
exists
Sets the value ofCfnAnalyzer.FilterProperty.getExists()- Parameters:
exists- An "exists" condition to match for the rule.- Returns:
this
-
exists
Sets the value ofCfnAnalyzer.FilterProperty.getExists()- Parameters:
exists- An "exists" condition to match for the rule.- Returns:
this
-
neq
Sets the value ofCfnAnalyzer.FilterProperty.getNeq()- Parameters:
neq- A "not equal" condition to match for the rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalyzer.FilterProperty>- Returns:
- a new instance of
CfnAnalyzer.FilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-