@Stability(value=Stable) public static final class CfnRuleProps.Builder extends Object
CfnRuleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleProps |
build()
Builds the configured instance.
|
CfnRuleProps.Builder |
withAssertions(List<CfnRuleAssertion> value)
Sets the value of Assertions
|
CfnRuleProps.Builder |
withRuleCondition(ICfnConditionExpression value)
Sets the value of RuleCondition
|
@Stability(value=Stable) public CfnRuleProps.Builder withAssertions(@Nullable List<CfnRuleAssertion> value)
value - Assertions which define the rule.this@Stability(value=Stable) public CfnRuleProps.Builder withRuleCondition(@Nullable ICfnConditionExpression value)
value - 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 © 2019. All rights reserved.