public EvaluateOnExit withAction(RetryAction action) {
        this.action = action.toString();
        return this;
    }
<p>
Specifies the action to take if all of the specified conditions (<code>onStatusReason</code>,
<code>onReason</code>, and <code>onExitCode</code>) are met. The values aren't case sensitive.
</p>

@param action
       Specifies the action to take if all of the specified conditions (<code>onStatusReason</code>,
       <code>onReason</code>, and <code>onExitCode</code>) are met. The values aren't case sensitive.
@return Returns a reference to this object so that method calls can be chained together.
@see RetryAction
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EvaluateOnExit.java