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