Class CfnBotPropsMixin.SlotPriorityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SlotPriorityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.SlotPriorityProperty>
- Enclosing interface:
CfnBotPropsMixin.SlotPriorityProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.SlotPriorityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.SlotPriorityProperty>
A builder for
CfnBotPropsMixin.SlotPriorityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBotPropsMixin.SlotPriorityProperty.getPriority()Sets the value ofCfnBotPropsMixin.SlotPriorityProperty.getSlotName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
Sets the value ofCfnBotPropsMixin.SlotPriorityProperty.getPriority()- Parameters:
priority- The priority that Amazon Lex should apply to the slot.- Returns:
this
-
slotName
Sets the value ofCfnBotPropsMixin.SlotPriorityProperty.getSlotName()- Parameters:
slotName- The name of the slot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.SlotPriorityProperty>- Returns:
- a new instance of
CfnBotPropsMixin.SlotPriorityProperty - Throws:
NullPointerException- if any required attribute was not provided
-