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