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