public static final class CfnBot.CloudWatchLogGroupLogDestinationProperty.Builder
extends java.lang.Object
CfnBot.CloudWatchLogGroupLogDestinationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.CloudWatchLogGroupLogDestinationProperty |
build()
Builds the configured instance.
|
CfnBot.CloudWatchLogGroupLogDestinationProperty.Builder |
cloudWatchLogGroupArn(java.lang.String cloudWatchLogGroupArn)
|
CfnBot.CloudWatchLogGroupLogDestinationProperty.Builder |
logPrefix(java.lang.String logPrefix)
Sets the value of
CfnBot.CloudWatchLogGroupLogDestinationProperty.getLogPrefix() |
public CfnBot.CloudWatchLogGroupLogDestinationProperty.Builder cloudWatchLogGroupArn(java.lang.String cloudWatchLogGroupArn)
cloudWatchLogGroupArn
- Specifies the Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered. This parameter is required.this
public CfnBot.CloudWatchLogGroupLogDestinationProperty.Builder logPrefix(java.lang.String logPrefix)
CfnBot.CloudWatchLogGroupLogDestinationProperty.getLogPrefix()
logPrefix
- Specifies the prefix of the log stream name within the log group that you specified. This parameter is required.this
public CfnBot.CloudWatchLogGroupLogDestinationProperty build()
CfnBot.CloudWatchLogGroupLogDestinationProperty
java.lang.NullPointerException
- if any required attribute was not provided