Class CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.DefaultConditionalBranchProperty>
- Enclosing interface:
CfnBotPropsMixin.DefaultConditionalBranchProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.DefaultConditionalBranchProperty>
A builder for
CfnBotPropsMixin.DefaultConditionalBranchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.nextStep(CfnBotPropsMixin.DialogStateProperty nextStep) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getNextStep()nextStep(IResolvable nextStep) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getNextStep()Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getResponse()response(IResolvable response) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getResponse()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nextStep
@Stability(Stable) public CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder nextStep(IResolvable nextStep) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getNextStep()- Parameters:
nextStep- The next step in the conversation.- Returns:
this
-
nextStep
@Stability(Stable) public CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder nextStep(CfnBotPropsMixin.DialogStateProperty nextStep) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getNextStep()- Parameters:
nextStep- The next step in the conversation.- Returns:
this
-
response
@Stability(Stable) public CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder response(IResolvable response) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getResponse()- Parameters:
response- Specifies a list of message groups that Amazon Lex uses to respond the user input.- Returns:
this
-
response
@Stability(Stable) public CfnBotPropsMixin.DefaultConditionalBranchProperty.Builder response(CfnBotPropsMixin.ResponseSpecificationProperty response) Sets the value ofCfnBotPropsMixin.DefaultConditionalBranchProperty.getResponse()- Parameters:
response- Specifies a list of message groups that Amazon Lex uses to respond the user input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.DefaultConditionalBranchProperty>- Returns:
- a new instance of
CfnBotPropsMixin.DefaultConditionalBranchProperty - Throws:
NullPointerException- if any required attribute was not provided
-