Class CfnBot.ConversationLogSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.ConversationLogSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.ConversationLogSettingsProperty>
- Enclosing interface:
CfnBot.ConversationLogSettingsProperty
@Stability(Stable)
public static final class CfnBot.ConversationLogSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.ConversationLogSettingsProperty>
A builder for
CfnBot.ConversationLogSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioLogSettings
(List<? extends Object> audioLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getAudioLogSettings()
audioLogSettings
(IResolvable audioLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getAudioLogSettings()
build()
Builds the configured instance.textLogSettings
(List<? extends Object> textLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getTextLogSettings()
textLogSettings
(IResolvable textLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getTextLogSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioLogSettings
@Stability(Stable) public CfnBot.ConversationLogSettingsProperty.Builder audioLogSettings(IResolvable audioLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getAudioLogSettings()
- Parameters:
audioLogSettings
- The Amazon S3 settings for logging audio to an S3 bucket.- Returns:
this
-
audioLogSettings
@Stability(Stable) public CfnBot.ConversationLogSettingsProperty.Builder audioLogSettings(List<? extends Object> audioLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getAudioLogSettings()
- Parameters:
audioLogSettings
- The Amazon S3 settings for logging audio to an S3 bucket.- Returns:
this
-
textLogSettings
@Stability(Stable) public CfnBot.ConversationLogSettingsProperty.Builder textLogSettings(IResolvable textLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getTextLogSettings()
- Parameters:
textLogSettings
- The Amazon CloudWatch Logs settings for logging text and metadata.- Returns:
this
-
textLogSettings
@Stability(Stable) public CfnBot.ConversationLogSettingsProperty.Builder textLogSettings(List<? extends Object> textLogSettings) Sets the value ofCfnBot.ConversationLogSettingsProperty.getTextLogSettings()
- Parameters:
textLogSettings
- The Amazon CloudWatch Logs settings for logging text and metadata.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.ConversationLogSettingsProperty>
- Returns:
- a new instance of
CfnBot.ConversationLogSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-