public String getWorkerType() {
        return this.workerType;
    }
<p>
The type of predefined worker that is allocated when a session runs. Accepts a value of <code>G.1X</code>,
<code>G.2X</code>, <code>G.4X</code>, or <code>G.8X</code> for Spark sessions. Accepts the value
<code>Z.2X</code> for Ray sessions.
</p>

@return The type of predefined worker that is allocated when a session runs. Accepts a value of <code>G.1X</code>
        , <code>G.2X</code>, <code>G.4X</code>, or <code>G.8X</code> for Spark sessions. Accepts the value
        <code>Z.2X</code> for Ray sessions.
@see WorkerType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Session.java