@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewCustomVocabularyItem extends Object implements Serializable, Cloneable, StructuredPojo
The new custom vocabulary item from the custom vocabulary list.
Constructor and Description |
---|
NewCustomVocabularyItem() |
Modifier and Type | Method and Description |
---|---|
NewCustomVocabularyItem |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayAs()
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
|
String |
getPhrase()
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
|
Integer |
getWeight()
The weight assigned to the new 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 display as value assigned to the new custom vocabulary item from the custom vocabulary list.
|
void |
setPhrase(String phrase)
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
|
void |
setWeight(Integer weight)
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
|
String |
toString()
Returns a string representation of this object.
|
NewCustomVocabularyItem |
withDisplayAs(String displayAs)
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
|
NewCustomVocabularyItem |
withPhrase(String phrase)
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
|
NewCustomVocabularyItem |
withWeight(Integer weight)
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
|
public void setPhrase(String phrase)
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
phrase
- The unique phrase for the new custom vocabulary item from the custom vocabulary list.public String getPhrase()
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
public NewCustomVocabularyItem withPhrase(String phrase)
The unique phrase for the new custom vocabulary item from the custom vocabulary list.
phrase
- The unique phrase for the new custom vocabulary item from the custom vocabulary list.public void setWeight(Integer weight)
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
weight
- The weight assigned to the new custom vocabulary item from the custom vocabulary list.public Integer getWeight()
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
public NewCustomVocabularyItem withWeight(Integer weight)
The weight assigned to the new custom vocabulary item from the custom vocabulary list.
weight
- The weight assigned to the new custom vocabulary item from the custom vocabulary list.public void setDisplayAs(String displayAs)
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
displayAs
- The display as value assigned to the new custom vocabulary item from the custom vocabulary list.public String getDisplayAs()
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
public NewCustomVocabularyItem withDisplayAs(String displayAs)
The display as value assigned to the new custom vocabulary item from the custom vocabulary list.
displayAs
- The display as value assigned to the new custom vocabulary item from the custom vocabulary list.public String toString()
toString
in class Object
Object.toString()
public NewCustomVocabularyItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.