public CancelJobRequest withReasonCode(String reasonCode) {
        setReasonCode(reasonCode);
        return this;
    }
<p>
(Optional)A reason code string that explains why the job was canceled.
</p>

@param reasonCode
       (Optional)A reason code string that explains why the job was canceled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CancelJobRequest.java