Class CfnBot.SlotTypeValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SlotTypeValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SlotTypeValueProperty>
- Enclosing interface:
CfnBot.SlotTypeValueProperty
@Stability(Stable)
public static final class CfnBot.SlotTypeValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SlotTypeValueProperty>
A builder for
CfnBot.SlotTypeValueProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sampleValue
(IResolvable sampleValue) Sets the value ofCfnBot.SlotTypeValueProperty.getSampleValue()
sampleValue
(CfnBot.SampleValueProperty sampleValue) Sets the value ofCfnBot.SlotTypeValueProperty.getSampleValue()
Sets the value ofCfnBot.SlotTypeValueProperty.getSynonyms()
synonyms
(IResolvable synonyms) Sets the value ofCfnBot.SlotTypeValueProperty.getSynonyms()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sampleValue
Sets the value ofCfnBot.SlotTypeValueProperty.getSampleValue()
- Parameters:
sampleValue
- The value of the slot type entry. This parameter is required.- Returns:
this
-
sampleValue
@Stability(Stable) public CfnBot.SlotTypeValueProperty.Builder sampleValue(CfnBot.SampleValueProperty sampleValue) Sets the value ofCfnBot.SlotTypeValueProperty.getSampleValue()
- Parameters:
sampleValue
- The value of the slot type entry. This parameter is required.- Returns:
this
-
synonyms
Sets the value ofCfnBot.SlotTypeValueProperty.getSynonyms()
- Parameters:
synonyms
- Additional values related to the slot type entry.- Returns:
this
-
synonyms
@Stability(Stable) public CfnBot.SlotTypeValueProperty.Builder synonyms(List<? extends Object> synonyms) Sets the value ofCfnBot.SlotTypeValueProperty.getSynonyms()
- Parameters:
synonyms
- Additional values related to the slot type entry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.SlotTypeValueProperty>
- Returns:
- a new instance of
CfnBot.SlotTypeValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-