public CreateSessionRequest withNumberOfWorkers(Integer numberOfWorkers) {
        setNumberOfWorkers(numberOfWorkers);
        return this;
    }
<p>
The number of workers of a defined <code>WorkerType</code> to use for the session.
</p>

@param numberOfWorkers
       The number of workers of a defined <code>WorkerType</code> to use for the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateSessionRequest.java