public PolicyStatement withAction(String action) {
        setAction(action);
        return this;
    }
<p>
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in
the policy statement.
</p>

@param action
       The action that informs a traffic policy resource to either allow or block the email if it matches a
       condition in the policy statement.
@return Returns a reference to this object so that method calls can be chained together.
@see AcceptAction
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/PolicyStatement.java