public JobRunSummary withMode(String mode) {
        setMode(mode);
        return this;
    }
<p>
The mode of the job run.
</p>

@param mode
       The mode of the job run.
@return Returns a reference to this object so that method calls can be chained together.
@see JobRunMode
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/JobRunSummary.java