Class CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty>
- Enclosing interface:
CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.getLogPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogGroupArn
@Stability(Stable) public CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn) Sets the value ofCfnBotPropsMixin.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 CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.Builder logPrefix(String logPrefix) Sets the value ofCfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty.getLogPrefix()- 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<CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty>- Returns:
- a new instance of
CfnBotPropsMixin.CloudWatchLogGroupLogDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-