public PutKeywordRequest withKeywordAction(KeywordAction keywordAction) {
        this.keywordAction = keywordAction.toString();
        return this;
    }
<p>
The action to perform for the new keyword when it is received.
</p>
<ul>
<li>
<p>
AUTOMATIC_RESPONSE: A message is sent to the recipient.
</p>
</li>
<li>
<p>
OPT_OUT: Keeps the recipient from receiving future messages.
</p>
</li>
<li>
<p>
OPT_IN: The recipient wants to receive future messages.
</p>
</li>
</ul>

@param keywordAction
       The action to perform for the new keyword when it is received.</p>
       <ul>
       <li>
       <p>
       AUTOMATIC_RESPONSE: A message is sent to the recipient.
       </p>
       </li>
       <li>
       <p>
       OPT_OUT: Keeps the recipient from receiving future messages.
       </p>
       </li>
       <li>
       <p>
       OPT_IN: The recipient wants to receive future messages.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see KeywordAction
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/PutKeywordRequest.java