@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutKeywordResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutKeywordResult() |
Modifier and Type | Method and Description |
---|---|
PutKeywordResult |
clone() |
boolean |
equals(Object obj) |
String |
getKeyword()
The keyword that was added.
|
String |
getKeywordAction()
The action to perform when the keyword is used.
|
String |
getKeywordMessage()
The message associated with the keyword.
|
String |
getOriginationIdentity()
The PhoneNumberId or PoolId that the keyword was associated with.
|
String |
getOriginationIdentityArn()
The PhoneNumberArn or PoolArn that the keyword was associated with.
|
int |
hashCode() |
void |
setKeyword(String keyword)
The keyword that was added.
|
void |
setKeywordAction(String keywordAction)
The action to perform when the keyword is used.
|
void |
setKeywordMessage(String keywordMessage)
The message associated with the keyword.
|
void |
setOriginationIdentity(String originationIdentity)
The PhoneNumberId or PoolId that the keyword was associated with.
|
void |
setOriginationIdentityArn(String originationIdentityArn)
The PhoneNumberArn or PoolArn that the keyword was associated with.
|
String |
toString()
Returns a string representation of this object.
|
PutKeywordResult |
withKeyword(String keyword)
The keyword that was added.
|
PutKeywordResult |
withKeywordAction(KeywordAction keywordAction)
The action to perform when the keyword is used.
|
PutKeywordResult |
withKeywordAction(String keywordAction)
The action to perform when the keyword is used.
|
PutKeywordResult |
withKeywordMessage(String keywordMessage)
The message associated with the keyword.
|
PutKeywordResult |
withOriginationIdentity(String originationIdentity)
The PhoneNumberId or PoolId that the keyword was associated with.
|
PutKeywordResult |
withOriginationIdentityArn(String originationIdentityArn)
The PhoneNumberArn or PoolArn that the keyword was associated with.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOriginationIdentityArn(String originationIdentityArn)
The PhoneNumberArn or PoolArn that the keyword was associated with.
originationIdentityArn
- The PhoneNumberArn or PoolArn that the keyword was associated with.public String getOriginationIdentityArn()
The PhoneNumberArn or PoolArn that the keyword was associated with.
public PutKeywordResult withOriginationIdentityArn(String originationIdentityArn)
The PhoneNumberArn or PoolArn that the keyword was associated with.
originationIdentityArn
- The PhoneNumberArn or PoolArn that the keyword was associated with.public void setOriginationIdentity(String originationIdentity)
The PhoneNumberId or PoolId that the keyword was associated with.
originationIdentity
- The PhoneNumberId or PoolId that the keyword was associated with.public String getOriginationIdentity()
The PhoneNumberId or PoolId that the keyword was associated with.
public PutKeywordResult withOriginationIdentity(String originationIdentity)
The PhoneNumberId or PoolId that the keyword was associated with.
originationIdentity
- The PhoneNumberId or PoolId that the keyword was associated with.public void setKeyword(String keyword)
The keyword that was added.
keyword
- The keyword that was added.public String getKeyword()
The keyword that was added.
public PutKeywordResult withKeyword(String keyword)
The keyword that was added.
keyword
- The keyword that was added.public void setKeywordMessage(String keywordMessage)
The message associated with the keyword.
keywordMessage
- The message associated with the keyword.public String getKeywordMessage()
The message associated with the keyword.
public PutKeywordResult withKeywordMessage(String keywordMessage)
The message associated with the keyword.
keywordMessage
- The message associated with the keyword.public void setKeywordAction(String keywordAction)
The action to perform when the keyword is used.
keywordAction
- The action to perform when the keyword is used.KeywordAction
public String getKeywordAction()
The action to perform when the keyword is used.
KeywordAction
public PutKeywordResult withKeywordAction(String keywordAction)
The action to perform when the keyword is used.
keywordAction
- The action to perform when the keyword is used.KeywordAction
public PutKeywordResult withKeywordAction(KeywordAction keywordAction)
The action to perform when the keyword is used.
keywordAction
- The action to perform when the keyword is used.KeywordAction
public String toString()
toString
in class Object
Object.toString()
public PutKeywordResult clone()