Package software.amazon.awscdk.core
Class CfnConditionProps.Builder
java.lang.Object
software.amazon.awscdk.core.CfnConditionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConditionProps>
- Enclosing interface:
CfnConditionProps
@Stability(Stable)
public static final class CfnConditionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConditionProps>
A builder for
CfnConditionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.expression
(ICfnConditionExpression expression) Sets the value ofCfnConditionProps.getExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnConditionProps.getExpression()
- Parameters:
expression
- The expression that the condition will evaluate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConditionProps>
- Returns:
- a new instance of
CfnConditionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-