@Generated(value="software.amazon.awssdk:codegen") public final class EnumerationValue extends Object implements SdkPojo, Serializable, 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 and Description |
---|---|
static interface |
EnumerationValue.Builder |
Modifier and Type | Method and Description |
---|---|
static EnumerationValue.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnumerationValue.Builder> |
serializableBuilderClass() |
List<String> |
synonyms()
Additional values related to the slot type value.
|
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.
|
copy
public String value()
The value of the slot type.
public List<String> synonyms()
Additional values related to the slot type value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EnumerationValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnumerationValue.Builder,EnumerationValue>
public static EnumerationValue.Builder builder()
public static Class<? extends EnumerationValue.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.