public JobError withCode(Code code) {
        this.code = code.toString();
        return this;
    }
<p>
The code for the job error.
</p>

@param code
       The code for the job error.
@return Returns a reference to this object so that method calls can be chained together.
@see Code
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/JobError.java