@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public SlotPriority clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.