@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomVocabularyItem extends Object implements Serializable, Cloneable, StructuredPojo
The unique custom vocabulary item from the custom vocabulary list.
Constructor and Description |
---|
CustomVocabularyItem() |
Modifier and Type | Method and Description |
---|---|
CustomVocabularyItem |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayAs()
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
|
String |
getItemId()
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
|
String |
getPhrase()
The unique phrase for the custom vocabulary item from the custom vocabulary list.
|
Integer |
getWeight()
The weight assigned for the custom vocabulary item from the custom vocabulary list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayAs(String displayAs)
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
|
void |
setItemId(String itemId)
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
|
void |
setPhrase(String phrase)
The unique phrase for the custom vocabulary item from the custom vocabulary list.
|
void |
setWeight(Integer weight)
The weight assigned for the custom vocabulary item from the custom vocabulary list.
|
String |
toString()
Returns a string representation of this object.
|
CustomVocabularyItem |
withDisplayAs(String displayAs)
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
|
CustomVocabularyItem |
withItemId(String itemId)
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
|
CustomVocabularyItem |
withPhrase(String phrase)
The unique phrase for the custom vocabulary item from the custom vocabulary list.
|
CustomVocabularyItem |
withWeight(Integer weight)
The weight assigned for the custom vocabulary item from the custom vocabulary list.
|
public void setItemId(String itemId)
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
itemId
- The unique item identifer for the custom vocabulary item from the custom vocabulary list.public String getItemId()
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
public CustomVocabularyItem withItemId(String itemId)
The unique item identifer for the custom vocabulary item from the custom vocabulary list.
itemId
- The unique item identifer for the custom vocabulary item from the custom vocabulary list.public void setPhrase(String phrase)
The unique phrase for the custom vocabulary item from the custom vocabulary list.
phrase
- The unique phrase for the custom vocabulary item from the custom vocabulary list.public String getPhrase()
The unique phrase for the custom vocabulary item from the custom vocabulary list.
public CustomVocabularyItem withPhrase(String phrase)
The unique phrase for the custom vocabulary item from the custom vocabulary list.
phrase
- The unique phrase for the custom vocabulary item from the custom vocabulary list.public void setWeight(Integer weight)
The weight assigned for the custom vocabulary item from the custom vocabulary list.
weight
- The weight assigned for the custom vocabulary item from the custom vocabulary list.public Integer getWeight()
The weight assigned for the custom vocabulary item from the custom vocabulary list.
public CustomVocabularyItem withWeight(Integer weight)
The weight assigned for the custom vocabulary item from the custom vocabulary list.
weight
- The weight assigned for the custom vocabulary item from the custom vocabulary list.public void setDisplayAs(String displayAs)
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
displayAs
- The DisplayAs value for the custom vocabulary item from the custom vocabulary list.public String getDisplayAs()
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
public CustomVocabularyItem withDisplayAs(String displayAs)
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
displayAs
- The DisplayAs value for the custom vocabulary item from the custom vocabulary list.public String toString()
toString
in class Object
Object.toString()
public CustomVocabularyItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.