@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnumerationValue extends Object implements Serializable, Cloneable, StructuredPojo
Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.
For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values
thick
thin
stuffed
| Constructor and Description |
|---|
EnumerationValue() |
| Modifier and Type | Method and Description |
|---|---|
EnumerationValue |
clone() |
boolean |
equals(Object obj) |
String |
getValue()
The value of the slot type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setValue(String value)
The value of the slot type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnumerationValue |
withValue(String value)
The value of the slot type.
|
public void setValue(String value)
The value of the slot type.
value - The value of the slot type.public String getValue()
The value of the slot type.
public EnumerationValue withValue(String value)
The value of the slot type.
value - The value of the slot type.public String toString()
toString in class ObjectObject.toString()public EnumerationValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.