Class CfnBotPropsMixin.IntentOverrideProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.IntentOverrideProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.IntentOverrideProperty>
- Enclosing interface:
CfnBotPropsMixin.IntentOverrideProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.IntentOverrideProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.IntentOverrideProperty>
A builder for
CfnBotPropsMixin.IntentOverrideProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getName()Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getSlots()slots(IResolvable slots) Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getSlots()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getName()- Parameters:
name- The name of the intent. Only required when you're switching intents.- Returns:
this
-
slots
Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getSlots()- Parameters:
slots- A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.- Returns:
this
-
slots
@Stability(Stable) public CfnBotPropsMixin.IntentOverrideProperty.Builder slots(List<? extends Object> slots) Sets the value ofCfnBotPropsMixin.IntentOverrideProperty.getSlots()- Parameters:
slots- A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.IntentOverrideProperty>- Returns:
- a new instance of
CfnBotPropsMixin.IntentOverrideProperty - Throws:
NullPointerException- if any required attribute was not provided
-