@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public EnumerationValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.