Class CfnBotAlias.S3BucketLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotAlias.S3BucketLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAlias.S3BucketLogDestinationProperty>
- Enclosing interface:
CfnBotAlias.S3BucketLogDestinationProperty
@Stability(Stable)
public static final class CfnBotAlias.S3BucketLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAlias.S3BucketLogDestinationProperty>
A builder for
CfnBotAlias.S3BucketLogDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getKmsKeyArn()
Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getLogPrefix()
s3BucketArn
(String s3BucketArn) Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getS3BucketArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logPrefix
@Stability(Stable) public CfnBotAlias.S3BucketLogDestinationProperty.Builder logPrefix(String logPrefix) Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getLogPrefix()
- Parameters:
logPrefix
- The S3 prefix to assign to audio log files. This parameter is required.- Returns:
this
-
s3BucketArn
@Stability(Stable) public CfnBotAlias.S3BucketLogDestinationProperty.Builder s3BucketArn(String s3BucketArn) Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getS3BucketArn()
- Parameters:
s3BucketArn
- The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored. This parameter is required.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnBotAlias.S3BucketLogDestinationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnBotAlias.S3BucketLogDestinationProperty.getKmsKeyArn()
- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBotAlias.S3BucketLogDestinationProperty>
- Returns:
- a new instance of
CfnBotAlias.S3BucketLogDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-