public static final class CfnBot.GrammarSlotTypeSourceProperty.Builder
extends java.lang.Object
CfnBot.GrammarSlotTypeSourceProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.GrammarSlotTypeSourceProperty |
build()
Builds the configured instance.
|
CfnBot.GrammarSlotTypeSourceProperty.Builder |
kmsKeyArn(java.lang.String kmsKeyArn)
Sets the value of
CfnBot.GrammarSlotTypeSourceProperty.getKmsKeyArn() |
CfnBot.GrammarSlotTypeSourceProperty.Builder |
s3BucketName(java.lang.String s3BucketName)
Sets the value of
CfnBot.GrammarSlotTypeSourceProperty.getS3BucketName() |
CfnBot.GrammarSlotTypeSourceProperty.Builder |
s3ObjectKey(java.lang.String s3ObjectKey)
Sets the value of
CfnBot.GrammarSlotTypeSourceProperty.getS3ObjectKey() |
public CfnBot.GrammarSlotTypeSourceProperty.Builder s3BucketName(java.lang.String s3BucketName)
CfnBot.GrammarSlotTypeSourceProperty.getS3BucketName()
s3BucketName
- The name of the S3 bucket that contains the grammar source. This parameter is required.this
public CfnBot.GrammarSlotTypeSourceProperty.Builder s3ObjectKey(java.lang.String s3ObjectKey)
CfnBot.GrammarSlotTypeSourceProperty.getS3ObjectKey()
s3ObjectKey
- The path to the grammar in the S3 bucket. This parameter is required.this
public CfnBot.GrammarSlotTypeSourceProperty.Builder kmsKeyArn(java.lang.String kmsKeyArn)
CfnBot.GrammarSlotTypeSourceProperty.getKmsKeyArn()
kmsKeyArn
- The AWS Key Management Service key required to decrypt the contents of the grammar, if any.this
public CfnBot.GrammarSlotTypeSourceProperty build()
CfnBot.GrammarSlotTypeSourceProperty
java.lang.NullPointerException
- if any required attribute was not provided