public static final class CfnBot.CustomVocabularyProperty.Builder
extends java.lang.Object
CfnBot.CustomVocabularyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.CustomVocabularyProperty |
build()
Builds the configured instance.
|
CfnBot.CustomVocabularyProperty.Builder |
customVocabularyItems(IResolvable customVocabularyItems)
Sets the value of
CfnBot.CustomVocabularyProperty.getCustomVocabularyItems() |
CfnBot.CustomVocabularyProperty.Builder |
customVocabularyItems(java.util.List<? extends java.lang.Object> customVocabularyItems)
Sets the value of
CfnBot.CustomVocabularyProperty.getCustomVocabularyItems() |
public CfnBot.CustomVocabularyProperty.Builder customVocabularyItems(IResolvable customVocabularyItems)
CfnBot.CustomVocabularyProperty.getCustomVocabularyItems()
customVocabularyItems
- Specifies a list of words that you expect to be used during a conversation with your bot. This parameter is required.this
public CfnBot.CustomVocabularyProperty.Builder customVocabularyItems(java.util.List<? extends java.lang.Object> customVocabularyItems)
CfnBot.CustomVocabularyProperty.getCustomVocabularyItems()
customVocabularyItems
- Specifies a list of words that you expect to be used during a conversation with your bot. This parameter is required.this
public CfnBot.CustomVocabularyProperty build()
CfnBot.CustomVocabularyProperty
java.lang.NullPointerException
- if any required attribute was not provided