Class CfnBot.CustomVocabularyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.CustomVocabularyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.CustomVocabularyProperty>
- Enclosing interface:
- CfnBot.CustomVocabularyProperty
@Stability(Stable)
public static final class CfnBot.CustomVocabularyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.CustomVocabularyProperty>
A builder for
CfnBot.CustomVocabularyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customVocabularyItems(List<? extends Object> customVocabularyItems) Sets the value ofCfnBot.CustomVocabularyProperty.getCustomVocabularyItems()customVocabularyItems(IResolvable customVocabularyItems) Sets the value ofCfnBot.CustomVocabularyProperty.getCustomVocabularyItems()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customVocabularyItems
@Stability(Stable) public CfnBot.CustomVocabularyProperty.Builder customVocabularyItems(IResolvable customVocabularyItems) Sets the value ofCfnBot.CustomVocabularyProperty.getCustomVocabularyItems()- Parameters:
customVocabularyItems- Specifies a list of words that you expect to be used during a conversation with your bot. This parameter is required.- Returns:
this
-
customVocabularyItems
@Stability(Stable) public CfnBot.CustomVocabularyProperty.Builder customVocabularyItems(List<? extends Object> customVocabularyItems) Sets the value ofCfnBot.CustomVocabularyProperty.getCustomVocabularyItems()- Parameters:
customVocabularyItems- Specifies a list of words that you expect to be used during a conversation with your bot. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.CustomVocabularyProperty>- Returns:
- a new instance of
CfnBot.CustomVocabularyProperty - Throws:
NullPointerException- if any required attribute was not provided
-