@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.KeywordAction
public String getKeywordAction()
The action to perform for the keyword.
KeywordAction
public KeywordInformation withKeywordAction(String keywordAction)
The action to perform for the keyword.
keywordAction
- The action to perform for the keyword.KeywordAction
public KeywordInformation withKeywordAction(KeywordAction keywordAction)
The action to perform for the keyword.
keywordAction
- The action to perform for the keyword.KeywordAction
public String toString()
toString
in class Object
Object.toString()
public KeywordInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.