Class CfnFlowPropsMixin.FlowConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.FlowConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.FlowConditionProperty>
- Enclosing interface:
CfnFlowPropsMixin.FlowConditionProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.FlowConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.FlowConditionProperty>
A builder for
CfnFlowPropsMixin.FlowConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnFlowPropsMixin.FlowConditionProperty.getExpression()Sets the value ofCfnFlowPropsMixin.FlowConditionProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnFlowPropsMixin.FlowConditionProperty.Builder expression(String expression) Sets the value ofCfnFlowPropsMixin.FlowConditionProperty.getExpression()- Parameters:
expression- Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows .- Returns:
this
-
name
Sets the value ofCfnFlowPropsMixin.FlowConditionProperty.getName()- Parameters:
name- A name for the condition that you can reference.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.FlowConditionProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.FlowConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-