Class CfnBot.SlotValueOverrideMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.SlotValueOverrideMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.SlotValueOverrideMapProperty>
- Enclosing interface:
- CfnBot.SlotValueOverrideMapProperty
@Stability(Stable)
public static final class CfnBot.SlotValueOverrideMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.SlotValueOverrideMapProperty>
A builder for
CfnBot.SlotValueOverrideMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotName()slotValueOverride(IResolvable slotValueOverride) Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotValueOverride()slotValueOverride(CfnBot.SlotValueOverrideProperty slotValueOverride) Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotValueOverride()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
slotName
Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotName()- Parameters:
slotName- The name of the slot.- Returns:
this
-
slotValueOverride
@Stability(Stable) public CfnBot.SlotValueOverrideMapProperty.Builder slotValueOverride(IResolvable slotValueOverride) Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotValueOverride()- Parameters:
slotValueOverride- The SlotValueOverride object to which the slot name will be mapped.- Returns:
this
-
slotValueOverride
@Stability(Stable) public CfnBot.SlotValueOverrideMapProperty.Builder slotValueOverride(CfnBot.SlotValueOverrideProperty slotValueOverride) Sets the value ofCfnBot.SlotValueOverrideMapProperty.getSlotValueOverride()- Parameters:
slotValueOverride- The SlotValueOverride object to which the slot name will be mapped.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.SlotValueOverrideMapProperty>- Returns:
- a new instance of
CfnBot.SlotValueOverrideMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-