public String getOnReason() {
        return this.onReason;
    }
<p>
Contains a glob pattern to match against the <code>Reason</code> returned for a job. The pattern can contain up
to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces
and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact
match.
</p>

@return Contains a glob pattern to match against the <code>Reason</code> returned for a job. The pattern can
        contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space
        (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the
        string needs to be an exact match.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EvaluateOnExit.java