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