public static final class CfnRuleGroup.AndStatementProperty.Builder
extends java.lang.Object
CfnRuleGroup.AndStatementProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRuleGroup.AndStatementProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.AndStatementProperty.Builder |
statements(IResolvable statements)
Sets the value of
CfnRuleGroup.AndStatementProperty.getStatements() |
CfnRuleGroup.AndStatementProperty.Builder |
statements(java.util.List<? extends java.lang.Object> statements)
Sets the value of
CfnRuleGroup.AndStatementProperty.getStatements() |
public CfnRuleGroup.AndStatementProperty.Builder statements(IResolvable statements)
CfnRuleGroup.AndStatementProperty.getStatements()
statements
- The statements to combine with AND logic. This parameter is required.
You can use any statements that can be nested.this
public CfnRuleGroup.AndStatementProperty.Builder statements(java.util.List<? extends java.lang.Object> statements)
CfnRuleGroup.AndStatementProperty.getStatements()
statements
- The statements to combine with AND logic. This parameter is required.
You can use any statements that can be nested.this
public CfnRuleGroup.AndStatementProperty build()
CfnRuleGroup.AndStatementProperty
java.lang.NullPointerException
- if any required attribute was not provided