Class CfnBot.AudioFillerSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.AudioFillerSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.AudioFillerSettingsProperty>
- Enclosing interface:
CfnBot.AudioFillerSettingsProperty
@Stability(Stable)
public static final class CfnBot.AudioFillerSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.AudioFillerSettingsProperty>
A builder for
CfnBot.AudioFillerSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBot.AudioFillerSettingsProperty.getAudioType()build()Builds the configured instance.Sets the value ofCfnBot.AudioFillerSettingsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBot.AudioFillerSettingsProperty.getEnabled()minimumPlayDurationInMilliseconds(Number minimumPlayDurationInMilliseconds) responseDeliveryDelayInMilliseconds(Number responseDeliveryDelayInMilliseconds) startDelayInMilliseconds(Number startDelayInMilliseconds) Sets the value ofCfnBot.AudioFillerSettingsProperty.getStartDelayInMilliseconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnBot.AudioFillerSettingsProperty.getEnabled()- Parameters:
enabled- the value to be set. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnBot.AudioFillerSettingsProperty.getEnabled()- Parameters:
enabled- the value to be set. This parameter is required.- Returns:
this
-
audioType
Sets the value ofCfnBot.AudioFillerSettingsProperty.getAudioType()- Parameters:
audioType- the value to be set.- Returns:
this
-
minimumPlayDurationInMilliseconds
@Stability(Stable) public CfnBot.AudioFillerSettingsProperty.Builder minimumPlayDurationInMilliseconds(Number minimumPlayDurationInMilliseconds) - Parameters:
minimumPlayDurationInMilliseconds- the value to be set.- Returns:
this
-
responseDeliveryDelayInMilliseconds
@Stability(Stable) public CfnBot.AudioFillerSettingsProperty.Builder responseDeliveryDelayInMilliseconds(Number responseDeliveryDelayInMilliseconds) - Parameters:
responseDeliveryDelayInMilliseconds- the value to be set.- Returns:
this
-
startDelayInMilliseconds
@Stability(Stable) public CfnBot.AudioFillerSettingsProperty.Builder startDelayInMilliseconds(Number startDelayInMilliseconds) Sets the value ofCfnBot.AudioFillerSettingsProperty.getStartDelayInMilliseconds()- Parameters:
startDelayInMilliseconds- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.AudioFillerSettingsProperty>- Returns:
- a new instance of
CfnBot.AudioFillerSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-