Class CfnBotAliasPropsMixin.TextLogSettingProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasPropsMixin.TextLogSettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasPropsMixin.TextLogSettingProperty>
- Enclosing interface:
CfnBotAliasPropsMixin.TextLogSettingProperty
@Stability(Stable)
public static final class CfnBotAliasPropsMixin.TextLogSettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasPropsMixin.TextLogSettingProperty>
A builder for
CfnBotAliasPropsMixin.TextLogSettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getDestination()Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getDestination()Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnBotAliasPropsMixin.TextLogSettingProperty.Builder destination(IResolvable destination) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getDestination()- Parameters:
destination- Defines the Amazon CloudWatch Logs destination log group for conversation text logs.- Returns:
this
-
destination
@Stability(Stable) public CfnBotAliasPropsMixin.TextLogSettingProperty.Builder destination(CfnBotAliasPropsMixin.TextLogDestinationProperty destination) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getDestination()- Parameters:
destination- Defines the Amazon CloudWatch Logs destination log group for conversation text logs.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotAliasPropsMixin.TextLogSettingProperty.Builder enabled(Boolean enabled) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getEnabled()- Parameters:
enabled- Determines whether conversation logs should be stored for an alias.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotAliasPropsMixin.TextLogSettingProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBotAliasPropsMixin.TextLogSettingProperty.getEnabled()- Parameters:
enabled- Determines whether conversation logs should be stored for an alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAliasPropsMixin.TextLogSettingProperty>- Returns:
- a new instance of
CfnBotAliasPropsMixin.TextLogSettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-