public CreateDevEndpointResult withWorkerType(String workerType) {
        setWorkerType(workerType);
        return this;
    }
<p>
The type of predefined worker that is allocated to the development endpoint. May be a value of Standard, G.1X, or
G.2X.
</p>

@param workerType
       The type of predefined worker that is allocated to the development endpoint. May be a value of Standard,
       G.1X, or G.2X.
@return Returns a reference to this object so that method calls can be chained together.
@see WorkerType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateDevEndpointResult.java