Class CfnBot.AudioLogSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.AudioLogSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.AudioLogSettingProperty>
- Enclosing interface:
CfnBot.AudioLogSettingProperty
@Stability(Stable)
public static final class CfnBot.AudioLogSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.AudioLogSettingProperty>
A builder for
CfnBot.AudioLogSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnBot.AudioLogSettingProperty.getDestination()destination(CfnBot.AudioLogDestinationProperty destination) Sets the value ofCfnBot.AudioLogSettingProperty.getDestination()Sets the value ofCfnBot.AudioLogSettingProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBot.AudioLogSettingProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnBot.AudioLogSettingProperty.Builder destination(IResolvable destination) Sets the value ofCfnBot.AudioLogSettingProperty.getDestination()- Parameters:
destination- Specifies the location of the audio log files collected when conversation logging is enabled for a bot. This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public CfnBot.AudioLogSettingProperty.Builder destination(CfnBot.AudioLogDestinationProperty destination) Sets the value ofCfnBot.AudioLogSettingProperty.getDestination()- Parameters:
destination- Specifies the location of the audio log files collected when conversation logging is enabled for a bot. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnBot.AudioLogSettingProperty.getEnabled()- Parameters:
enabled- Determines whether audio logging in enabled for the bot. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnBot.AudioLogSettingProperty.getEnabled()- Parameters:
enabled- Determines whether audio logging in enabled for the bot. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.AudioLogSettingProperty>- Returns:
- a new instance of
CfnBot.AudioLogSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-