public CreateDevEndpointRequest withNumberOfWorkers(Integer numberOfWorkers) {
        setNumberOfWorkers(numberOfWorkers);
        return this;
    }
<p>
The number of workers of a defined <code>workerType</code> that are allocated to the development endpoint.
</p>
<p>
The maximum number of workers you can define are 299 for <code>G.1X</code>, and 149 for <code>G.2X</code>.
</p>

@param numberOfWorkers
       The number of workers of a defined <code>workerType</code> that are allocated to the development
       endpoint.</p>
       <p>
       The maximum number of workers you can define are 299 for <code>G.1X</code>, and 149 for <code>G.2X</code>.
@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/CreateDevEndpointRequest.java