public static final class CfnAnalyzer.FilterProperty.Builder
extends java.lang.Object
CfnAnalyzer.FilterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAnalyzer.FilterProperty |
build()
Builds the configured instance.
|
CfnAnalyzer.FilterProperty.Builder |
contains(java.util.List<java.lang.String> contains)
Sets the value of
CfnAnalyzer.FilterProperty.getContains() |
CfnAnalyzer.FilterProperty.Builder |
eq(java.util.List<java.lang.String> eq)
Sets the value of
CfnAnalyzer.FilterProperty.getEq() |
CfnAnalyzer.FilterProperty.Builder |
exists(java.lang.Boolean exists)
Sets the value of
CfnAnalyzer.FilterProperty.getExists() |
CfnAnalyzer.FilterProperty.Builder |
exists(IResolvable exists)
Sets the value of
CfnAnalyzer.FilterProperty.getExists() |
CfnAnalyzer.FilterProperty.Builder |
neq(java.util.List<java.lang.String> neq)
Sets the value of
CfnAnalyzer.FilterProperty.getNeq() |
CfnAnalyzer.FilterProperty.Builder |
property(java.lang.String property)
Sets the value of
CfnAnalyzer.FilterProperty.getProperty() |
public CfnAnalyzer.FilterProperty.Builder property(java.lang.String property)
CfnAnalyzer.FilterProperty.getProperty()
property
- The property used to define the criteria in the filter for the rule. This parameter is required.this
public CfnAnalyzer.FilterProperty.Builder contains(java.util.List<java.lang.String> contains)
CfnAnalyzer.FilterProperty.getContains()
contains
- A "contains" condition to match for the rule.this
public CfnAnalyzer.FilterProperty.Builder eq(java.util.List<java.lang.String> eq)
CfnAnalyzer.FilterProperty.getEq()
eq
- An "equals" condition to match for the rule.this
public CfnAnalyzer.FilterProperty.Builder exists(java.lang.Boolean exists)
CfnAnalyzer.FilterProperty.getExists()
exists
- An "exists" condition to match for the rule.this
public CfnAnalyzer.FilterProperty.Builder exists(IResolvable exists)
CfnAnalyzer.FilterProperty.getExists()
exists
- An "exists" condition to match for the rule.this
public CfnAnalyzer.FilterProperty.Builder neq(java.util.List<java.lang.String> neq)
CfnAnalyzer.FilterProperty.getNeq()
neq
- A "not equal" condition to match for the rule.this
public CfnAnalyzer.FilterProperty build()
CfnAnalyzer.FilterProperty
java.lang.NullPointerException
- if any required attribute was not provided