public void setReason(String reason) {
        this.reason = 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>

@param reason
       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