Class CfnBot.TextLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.TextLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.TextLogDestinationProperty>
- Enclosing interface:
CfnBot.TextLogDestinationProperty
@Stability(Stable)
public static final class CfnBot.TextLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.TextLogDestinationProperty>
A builder for
CfnBot.TextLogDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudWatch
(IResolvable cloudWatch) Sets the value ofCfnBot.TextLogDestinationProperty.getCloudWatch()
Sets the value ofCfnBot.TextLogDestinationProperty.getCloudWatch()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatch
@Stability(Stable) public CfnBot.TextLogDestinationProperty.Builder cloudWatch(IResolvable cloudWatch) Sets the value ofCfnBot.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 CfnBot.TextLogDestinationProperty.Builder cloudWatch(CfnBot.CloudWatchLogGroupLogDestinationProperty cloudWatch) Sets the value ofCfnBot.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<CfnBot.TextLogDestinationProperty>
- Returns:
- a new instance of
CfnBot.TextLogDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-