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