@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutKeywordRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutKeywordRequest() |
Modifier and Type | Method and Description |
---|---|
PutKeywordRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyword()
The new keyword to add.
|
String |
getKeywordAction()
The action to perform for the new keyword when it is received.
|
String |
getKeywordMessage()
The message associated with the keyword.
|
String |
getOriginationIdentity()
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.
|
int |
hashCode() |
void |
setKeyword(String keyword)
The new keyword to add.
|
void |
setKeywordAction(String keywordAction)
The action to perform for the new keyword when it is received.
|
void |
setKeywordMessage(String keywordMessage)
The message associated with the keyword.
|
void |
setOriginationIdentity(String originationIdentity)
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.
|
String |
toString()
Returns a string representation of this object.
|
PutKeywordRequest |
withKeyword(String keyword)
The new keyword to add.
|
PutKeywordRequest |
withKeywordAction(KeywordAction keywordAction)
The action to perform for the new keyword when it is received.
|
PutKeywordRequest |
withKeywordAction(String keywordAction)
The action to perform for the new keyword when it is received.
|
PutKeywordRequest |
withKeywordMessage(String keywordMessage)
The message associated with the keyword.
|
PutKeywordRequest |
withOriginationIdentity(String originationIdentity)
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setOriginationIdentity(String originationIdentity)
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
originationIdentity
- The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can
use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while
DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.public String getOriginationIdentity()
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
public PutKeywordRequest withOriginationIdentity(String originationIdentity)
The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.
originationIdentity
- The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can
use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while
DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.public void setKeyword(String keyword)
The new keyword to add.
keyword
- The new keyword to add.public String getKeyword()
The new keyword to add.
public PutKeywordRequest withKeyword(String keyword)
The new keyword to add.
keyword
- The new keyword to add.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 PutKeywordRequest 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 for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
keywordAction
- The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
KeywordAction
public String getKeywordAction()
The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
KeywordAction
public PutKeywordRequest withKeywordAction(String keywordAction)
The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
keywordAction
- The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
KeywordAction
public PutKeywordRequest withKeywordAction(KeywordAction keywordAction)
The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
keywordAction
- The action to perform for the new keyword when it is received.
AUTOMATIC_RESPONSE: A message is sent to the recipient.
OPT_OUT: Keeps the recipient from receiving future messages.
OPT_IN: The recipient wants to receive future messages.
KeywordAction
public String toString()
toString
in class Object
Object.toString()
public PutKeywordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()