public String getReason() {
        return this.reason;
    }
<p>
A message to attach to the job that explains the reason for canceling it. This message is returned by future
<a>DescribeJobs</a> operations on the job. This message is also recorded in the Batch activity logs.
</p>

@return A message to attach to the job that explains the reason for canceling it. This message is returned by
        future <a>DescribeJobs</a> operations on the job. This message is also recorded in the Batch activity
        logs.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/CancelJobRequest.java