@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotTypeValue extends Object implements Serializable, Cloneable, StructuredPojo
Each slot type can have a set of values. Each SlotTypeValue represents a value that the slot type can
take.
| Constructor and Description |
|---|
SlotTypeValue() |
| Modifier and Type | Method and Description |
|---|---|
SlotTypeValue |
clone() |
boolean |
equals(Object obj) |
SampleValue |
getSampleValue()
The value of the slot type entry.
|
List<SampleValue> |
getSynonyms()
Additional values related to the slot type entry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSampleValue(SampleValue sampleValue)
The value of the slot type entry.
|
void |
setSynonyms(Collection<SampleValue> synonyms)
Additional values related to the slot type entry.
|
String |
toString()
Returns a string representation of this object.
|
SlotTypeValue |
withSampleValue(SampleValue sampleValue)
The value of the slot type entry.
|
SlotTypeValue |
withSynonyms(Collection<SampleValue> synonyms)
Additional values related to the slot type entry.
|
SlotTypeValue |
withSynonyms(SampleValue... synonyms)
Additional values related to the slot type entry.
|
public void setSampleValue(SampleValue sampleValue)
The value of the slot type entry.
sampleValue - The value of the slot type entry.public SampleValue getSampleValue()
The value of the slot type entry.
public SlotTypeValue withSampleValue(SampleValue sampleValue)
The value of the slot type entry.
sampleValue - The value of the slot type entry.public List<SampleValue> getSynonyms()
Additional values related to the slot type entry.
public void setSynonyms(Collection<SampleValue> synonyms)
Additional values related to the slot type entry.
synonyms - Additional values related to the slot type entry.public SlotTypeValue withSynonyms(SampleValue... synonyms)
Additional values related to the slot type entry.
NOTE: This method appends the values to the existing list (if any). Use
setSynonyms(java.util.Collection) or withSynonyms(java.util.Collection) if you want to override
the existing values.
synonyms - Additional values related to the slot type entry.public SlotTypeValue withSynonyms(Collection<SampleValue> synonyms)
Additional values related to the slot type entry.
synonyms - Additional values related to the slot type entry.public String toString()
toString in class ObjectObject.toString()public SlotTypeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.