public GetAccessControlEffectRequest withAction(String action) {
        setAction(action);
        return this;
    }
<p>
The access protocol action. Valid values include <code>ActiveSync</code>, <code>AutoDiscover</code>,
<code>EWS</code>, <code>IMAP</code>, <code>SMTP</code>, <code>WindowsOutlook</code>, and <code>WebMail</code>.
</p>

@param action
       The access protocol action. Valid values include <code>ActiveSync</code>, <code>AutoDiscover</code>,
       <code>EWS</code>, <code>IMAP</code>, <code>SMTP</code>, <code>WindowsOutlook</code>, and
       <code>WebMail</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/GetAccessControlEffectRequest.java