@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeywordInformation extends Object implements Serializable, Cloneable, StructuredPojo
The information for all keywords in a pool.
| Constructor and Description |
|---|
KeywordInformation() |
| Modifier and Type | Method and Description |
|---|---|
KeywordInformation |
clone() |
boolean |
equals(Object obj) |
String |
getKeyword()
The keyword as a string.
|
String |
getKeywordAction()
The action to perform for the keyword.
|
String |
getKeywordMessage()
A custom message that can be used with the keyword.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKeyword(String keyword)
The keyword as a string.
|
void |
setKeywordAction(String keywordAction)
The action to perform for the keyword.
|
void |
setKeywordMessage(String keywordMessage)
A custom message that can be used with the keyword.
|
String |
toString()
Returns a string representation of this object.
|
KeywordInformation |
withKeyword(String keyword)
The keyword as a string.
|
KeywordInformation |
withKeywordAction(KeywordAction keywordAction)
The action to perform for the keyword.
|
KeywordInformation |
withKeywordAction(String keywordAction)
The action to perform for the keyword.
|
KeywordInformation |
withKeywordMessage(String keywordMessage)
A custom message that can be used with the keyword.
|
public void setKeyword(String keyword)
The keyword as a string.
keyword - The keyword as a string.public String getKeyword()
The keyword as a string.
public KeywordInformation withKeyword(String keyword)
The keyword as a string.
keyword - The keyword as a string.public void setKeywordMessage(String keywordMessage)
A custom message that can be used with the keyword.
keywordMessage - A custom message that can be used with the keyword.public String getKeywordMessage()
A custom message that can be used with the keyword.
public KeywordInformation withKeywordMessage(String keywordMessage)
A custom message that can be used with the keyword.
keywordMessage - A custom message that can be used with the keyword.public void setKeywordAction(String keywordAction)
The action to perform for the keyword.
keywordAction - The action to perform for the keyword.KeywordActionpublic String getKeywordAction()
The action to perform for the keyword.
KeywordActionpublic KeywordInformation withKeywordAction(String keywordAction)
The action to perform for the keyword.
keywordAction - The action to perform for the keyword.KeywordActionpublic KeywordInformation withKeywordAction(KeywordAction keywordAction)
The action to perform for the keyword.
keywordAction - The action to perform for the keyword.KeywordActionpublic String toString()
toString in class ObjectObject.toString()public KeywordInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.