Class CfnBot.S3BucketLogDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.S3BucketLogDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.S3BucketLogDestinationProperty>
- Enclosing interface:
CfnBot.S3BucketLogDestinationProperty
@Stability(Stable)
public static final class CfnBot.S3BucketLogDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.S3BucketLogDestinationProperty>
A builder for
CfnBot.S3BucketLogDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBot.S3BucketLogDestinationProperty.getKmsKeyArn()
Sets the value ofCfnBot.S3BucketLogDestinationProperty.getLogPrefix()
s3BucketArn
(String s3BucketArn) Sets the value ofCfnBot.S3BucketLogDestinationProperty.getS3BucketArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logPrefix
Sets the value ofCfnBot.S3BucketLogDestinationProperty.getLogPrefix()
- Parameters:
logPrefix
- The S3 prefix to assign to audio log files. This parameter is required.- Returns:
this
-
s3BucketArn
@Stability(Stable) public CfnBot.S3BucketLogDestinationProperty.Builder s3BucketArn(String s3BucketArn) Sets the value ofCfnBot.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
Sets the value ofCfnBot.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<CfnBot.S3BucketLogDestinationProperty>
- Returns:
- a new instance of
CfnBot.S3BucketLogDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-