@Stability(value=Stable) public static final class CfnRuleProps.Builder extends Object
CfnRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleProps.Builder |
assertions(List<CfnRuleAssertion> assertions)
Sets the value of
CfnRuleProps.getAssertions() |
CfnRuleProps |
build()
Builds the configured instance.
|
CfnRuleProps.Builder |
ruleCondition(ICfnConditionExpression ruleCondition)
Sets the value of
CfnRuleProps.getRuleCondition() |
@Stability(value=Stable) public CfnRuleProps.Builder assertions(List<CfnRuleAssertion> assertions)
CfnRuleProps.getAssertions()assertions - Assertions which define the rule.this@Stability(value=Stable) public CfnRuleProps.Builder ruleCondition(ICfnConditionExpression ruleCondition)
CfnRuleProps.getRuleCondition()ruleCondition - If the rule condition evaluates to false, the rule doesn't take effect.
If the function in the rule condition evaluates to true, expressions in each assert are evaluated and applied.this@Stability(value=Stable) public CfnRuleProps build()
CfnRulePropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.