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