Class CfnBotAlias.CloudWatchLogGroupLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAlias.CloudWatchLogGroupLogDestinationProperty>
- Enclosing interface:
CfnBotAlias.CloudWatchLogGroupLogDestinationProperty
@Stability(Stable)
public static final class CfnBotAlias.CloudWatchLogGroupLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAlias.CloudWatchLogGroupLogDestinationProperty>
A builder for
CfnBotAlias.CloudWatchLogGroupLogDestinationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnBotAlias.CloudWatchLogGroupLogDestinationProperty.getLogPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogGroupArn
@Stability(Stable) public CfnBotAlias.CloudWatchLogGroupLogDestinationProperty.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn) - Parameters:
cloudWatchLogGroupArn- The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered. This parameter is required.- Returns:
this
-
logPrefix
@Stability(Stable) public CfnBotAlias.CloudWatchLogGroupLogDestinationProperty.Builder logPrefix(String logPrefix) Sets the value ofCfnBotAlias.CloudWatchLogGroupLogDestinationProperty.getLogPrefix()- Parameters:
logPrefix- The prefix of the log stream name within the log group that you specified. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAlias.CloudWatchLogGroupLogDestinationProperty>- Returns:
- a new instance of
CfnBotAlias.CloudWatchLogGroupLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-