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