Class CfnBotAlias.TextLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotAlias.TextLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAlias.TextLogDestinationProperty>
- Enclosing interface:
CfnBotAlias.TextLogDestinationProperty
@Stability(Stable)
public static final class CfnBotAlias.TextLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAlias.TextLogDestinationProperty>
A builder for
CfnBotAlias.TextLogDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatch
(IResolvable cloudWatch) Sets the value ofCfnBotAlias.TextLogDestinationProperty.getCloudWatch()
Sets the value ofCfnBotAlias.TextLogDestinationProperty.getCloudWatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatch
@Stability(Stable) public CfnBotAlias.TextLogDestinationProperty.Builder cloudWatch(IResolvable cloudWatch) Sets the value ofCfnBotAlias.TextLogDestinationProperty.getCloudWatch()
- Parameters:
cloudWatch
- Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered. This parameter is required.- Returns:
this
-
cloudWatch
@Stability(Stable) public CfnBotAlias.TextLogDestinationProperty.Builder cloudWatch(CfnBotAlias.CloudWatchLogGroupLogDestinationProperty cloudWatch) Sets the value ofCfnBotAlias.TextLogDestinationProperty.getCloudWatch()
- Parameters:
cloudWatch
- Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBotAlias.TextLogDestinationProperty>
- Returns:
- a new instance of
CfnBotAlias.TextLogDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-