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