Class CfnBotPropsMixin.AudioSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.AudioSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.AudioSpecificationProperty>
- Enclosing interface:
CfnBotPropsMixin.AudioSpecificationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.AudioSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.AudioSpecificationProperty>
A builder for
CfnBotPropsMixin.AudioSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endTimeoutMs(Number endTimeoutMs) Sets the value ofCfnBotPropsMixin.AudioSpecificationProperty.getEndTimeoutMs()maxLengthMs(Number maxLengthMs) Sets the value ofCfnBotPropsMixin.AudioSpecificationProperty.getMaxLengthMs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endTimeoutMs
@Stability(Stable) public CfnBotPropsMixin.AudioSpecificationProperty.Builder endTimeoutMs(Number endTimeoutMs) Sets the value ofCfnBotPropsMixin.AudioSpecificationProperty.getEndTimeoutMs()- Parameters:
endTimeoutMs- Time for which a bot waits after the customer stops speaking to assume the utterance is finished.- Returns:
this
-
maxLengthMs
@Stability(Stable) public CfnBotPropsMixin.AudioSpecificationProperty.Builder maxLengthMs(Number maxLengthMs) Sets the value ofCfnBotPropsMixin.AudioSpecificationProperty.getMaxLengthMs()- Parameters:
maxLengthMs- Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.AudioSpecificationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.AudioSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-