Class CfnBot.TextInputSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.TextInputSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.TextInputSpecificationProperty>
- Enclosing interface:
CfnBot.TextInputSpecificationProperty
@Stability(Stable)
public static final class CfnBot.TextInputSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.TextInputSpecificationProperty>
A builder for
CfnBot.TextInputSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.startTimeoutMs
(Number startTimeoutMs) Sets the value ofCfnBot.TextInputSpecificationProperty.getStartTimeoutMs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
startTimeoutMs
@Stability(Stable) public CfnBot.TextInputSpecificationProperty.Builder startTimeoutMs(Number startTimeoutMs) Sets the value ofCfnBot.TextInputSpecificationProperty.getStartTimeoutMs()
- Parameters:
startTimeoutMs
- Time for which a bot waits before re-prompting a customer for text input. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.TextInputSpecificationProperty>
- Returns:
- a new instance of
CfnBot.TextInputSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-