@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotPriority extends Object implements Serializable, Cloneable, StructuredPojo
Sets the priority that Amazon Lex should use when eliciting slot values from a user.
| Constructor and Description |
|---|
SlotPriority() |
| Modifier and Type | Method and Description |
|---|---|
SlotPriority |
clone() |
boolean |
equals(Object obj) |
Integer |
getPriority()
The priority that a slot should be elicited.
|
String |
getSlotId()
The unique identifier of the slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPriority(Integer priority)
The priority that a slot should be elicited.
|
void |
setSlotId(String slotId)
The unique identifier of the slot.
|
String |
toString()
Returns a string representation of this object.
|
SlotPriority |
withPriority(Integer priority)
The priority that a slot should be elicited.
|
SlotPriority |
withSlotId(String slotId)
The unique identifier of the slot.
|
public void setPriority(Integer priority)
The priority that a slot should be elicited.
priority - The priority that a slot should be elicited.public Integer getPriority()
The priority that a slot should be elicited.
public SlotPriority withPriority(Integer priority)
The priority that a slot should be elicited.
priority - The priority that a slot should be elicited.public void setSlotId(String slotId)
The unique identifier of the slot.
slotId - The unique identifier of the slot.public String getSlotId()
The unique identifier of the slot.
public SlotPriority withSlotId(String slotId)
The unique identifier of the slot.
slotId - The unique identifier of the slot.public String toString()
toString in class ObjectObject.toString()public SlotPriority clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.