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