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