public static final class CfnBot.SlotPriorityProperty.Builder
extends java.lang.Object
CfnBot.SlotPriorityProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.SlotPriorityProperty |
build()
Builds the configured instance.
|
CfnBot.SlotPriorityProperty.Builder |
priority(java.lang.Number priority)
Sets the value of
CfnBot.SlotPriorityProperty.getPriority() |
CfnBot.SlotPriorityProperty.Builder |
slotName(java.lang.String slotName)
Sets the value of
CfnBot.SlotPriorityProperty.getSlotName() |
public CfnBot.SlotPriorityProperty.Builder priority(java.lang.Number priority)
CfnBot.SlotPriorityProperty.getPriority()
priority
- The priority that Amazon Lex should apply to the slot. This parameter is required.this
public CfnBot.SlotPriorityProperty.Builder slotName(java.lang.String slotName)
CfnBot.SlotPriorityProperty.getSlotName()
slotName
- The name of the slot. This parameter is required.this
public CfnBot.SlotPriorityProperty build()
CfnBot.SlotPriorityProperty
java.lang.NullPointerException
- if any required attribute was not provided