public CreateDevEndpointRequest withWorkerType(WorkerType workerType) {
        this.workerType = workerType.toString();
        return this;
    }
<p>
The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X,
or G.2X.
</p>
<ul>
<li>
<p>
For the <code>Standard</code> worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
</p>
</li>
<li>
<p>
For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
</p>
</li>
<li>
<p>
For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
</p>
</li>
</ul>
<p>
Known issue: when a development endpoint is created with the <code>G.2X</code> <code>WorkerType</code>
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB
disk.
</p>

@param workerType
       The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard,
       G.1X, or G.2X.</p>
       <ul>
       <li>
       <p>
       For the <code>Standard</code> worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
       and 2 executors per worker.
       </p>
       </li>
       <li>
       <p>
       For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk),
       and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
       </p>
       </li>
       <li>
       <p>
       For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk),
       and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
       </p>
       </li>
       </ul>
       <p>
       Known issue: when a development endpoint is created with the <code>G.2X</code> <code>WorkerType</code>
       configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a
       64 GB disk.
@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/CreateDevEndpointRequest.java