public void setOnExitCode(String onExitCode) {
        this.onExitCode = onExitCode;
    }
<p>
Contains a glob pattern to match against the decimal representation of the <code>ExitCode</code> returned for a
job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*)
so that only the start of the string needs to be an exact match.
</p>
<p>
The string can contain up to 512 characters.
</p>

@param onExitCode
       Contains a glob pattern to match against the decimal representation of the <code>ExitCode</code> returned
       for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an
       asterisk (*) so that only the start of the string needs to be an exact match.</p>
       <p>
       The string can contain up to 512 characters.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EvaluateOnExit.java