StructuredPojo
, ToCopyableBuilder<EnumerationValue.Builder,EnumerationValue>
@Generated("software.amazon.awssdk:codegen") public class EnumerationValue extends Object implements StructuredPojo, ToCopyableBuilder<EnumerationValue.Builder,EnumerationValue>
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
Modifier and Type | Class | Description |
---|---|---|
static interface |
EnumerationValue.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EnumerationValue.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EnumerationValue.Builder> |
serializableBuilderClass() |
|
EnumerationValue.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
value() |
The value of the slot type.
|
public String value()
The value of the slot type.
public EnumerationValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnumerationValue.Builder,EnumerationValue>
public static EnumerationValue.Builder builder()
public static Class<? extends EnumerationValue.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.