Class CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.StillWaitingResponseSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.StillWaitingResponseSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.StillWaitingResponseSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowInterrupt(Boolean allowInterrupt) allowInterrupt(IResolvable allowInterrupt) build()Builds the configured instance.frequencyInSeconds(Number frequencyInSeconds) messageGroupsList(List<? extends Object> messageGroupsList) messageGroupsList(IResolvable messageGroupsList) timeoutInSeconds(Number timeoutInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowInterrupt
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder allowInterrupt(Boolean allowInterrupt) - Parameters:
allowInterrupt- Indicates that the user can interrupt the response by speaking while the message is being played.- Returns:
this
-
allowInterrupt
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder allowInterrupt(IResolvable allowInterrupt) - Parameters:
allowInterrupt- Indicates that the user can interrupt the response by speaking while the message is being played.- Returns:
this
-
frequencyInSeconds
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder frequencyInSeconds(Number frequencyInSeconds) Sets the value ofCfnBotPropsMixin.StillWaitingResponseSpecificationProperty.getFrequencyInSeconds()- Parameters:
frequencyInSeconds- How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.- Returns:
this
-
messageGroupsList
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder messageGroupsList(IResolvable messageGroupsList) - Parameters:
messageGroupsList- One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.- Returns:
this
-
messageGroupsList
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder messageGroupsList(List<? extends Object> messageGroupsList) - Parameters:
messageGroupsList- One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.- Returns:
this
-
timeoutInSeconds
@Stability(Stable) public CfnBotPropsMixin.StillWaitingResponseSpecificationProperty.Builder timeoutInSeconds(Number timeoutInSeconds) - Parameters:
timeoutInSeconds- If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.StillWaitingResponseSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.StillWaitingResponseSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-