Class CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.WaitAndContinueSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.WaitAndContinueSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.WaitAndContinueSpecificationProperty>
A builder for
CfnBotPropsMixin.WaitAndContinueSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.continueResponse(CfnBotPropsMixin.ResponseSpecificationProperty continueResponse) continueResponse(IResolvable continueResponse) Sets the value ofCfnBotPropsMixin.WaitAndContinueSpecificationProperty.getIsActive()isActive(IResolvable isActive) Sets the value ofCfnBotPropsMixin.WaitAndContinueSpecificationProperty.getIsActive()stillWaitingResponse(CfnBotPropsMixin.StillWaitingResponseSpecificationProperty stillWaitingResponse) stillWaitingResponse(IResolvable stillWaitingResponse) waitingResponse(CfnBotPropsMixin.ResponseSpecificationProperty waitingResponse) waitingResponse(IResolvable waitingResponse)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
continueResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder continueResponse(IResolvable continueResponse) - Parameters:
continueResponse- The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.- Returns:
this
-
continueResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder continueResponse(CfnBotPropsMixin.ResponseSpecificationProperty continueResponse) - Parameters:
continueResponse- The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.- Returns:
this
-
isActive
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder isActive(Boolean isActive) Sets the value ofCfnBotPropsMixin.WaitAndContinueSpecificationProperty.getIsActive()- Parameters:
isActive- Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If theIsActivefield isn't specified, the default is true.- Returns:
this
-
isActive
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder isActive(IResolvable isActive) Sets the value ofCfnBotPropsMixin.WaitAndContinueSpecificationProperty.getIsActive()- Parameters:
isActive- Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If theIsActivefield isn't specified, the default is true.- Returns:
this
-
stillWaitingResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder stillWaitingResponse(IResolvable stillWaitingResponse) - Parameters:
stillWaitingResponse- A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.- Returns:
this
-
stillWaitingResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder stillWaitingResponse(CfnBotPropsMixin.StillWaitingResponseSpecificationProperty stillWaitingResponse) - Parameters:
stillWaitingResponse- A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.- Returns:
this
-
waitingResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder waitingResponse(IResolvable waitingResponse) - Parameters:
waitingResponse- The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.- Returns:
this
-
waitingResponse
@Stability(Stable) public CfnBotPropsMixin.WaitAndContinueSpecificationProperty.Builder waitingResponse(CfnBotPropsMixin.ResponseSpecificationProperty waitingResponse) - Parameters:
waitingResponse- The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.WaitAndContinueSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.WaitAndContinueSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-