Package software.amazon.awscdk
Class CfnRuleAssertion.Builder
java.lang.Object
software.amazon.awscdk.CfnRuleAssertion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleAssertion>
- Enclosing interface:
CfnRuleAssertion
@Stability(Stable)
public static final class CfnRuleAssertion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuleAssertion>
A builder for
CfnRuleAssertion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassertDescription
(String assertDescription) Sets the value ofCfnRuleAssertion.getAssertDescription()
assertValue
(ICfnConditionExpression assertValue) Sets the value ofCfnRuleAssertion.getAssertValue()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assertValue
Sets the value ofCfnRuleAssertion.getAssertValue()
- Parameters:
assertValue
- The assertion. This parameter is required.- Returns:
this
-
assertDescription
Sets the value ofCfnRuleAssertion.getAssertDescription()
- Parameters:
assertDescription
- The assertion description. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuleAssertion>
- Returns:
- a new instance of
CfnRuleAssertion
- Throws:
NullPointerException
- if any required attribute was not provided
-