public GetSessionResult withEngineVersion(String engineVersion) {
        setEngineVersion(engineVersion);
        return this;
    }
<p>
The engine version used by the session (for example, <code>PySpark engine version 3</code>). You can get a list
of engine versions by calling <a>ListEngineVersions</a>.
</p>

@param engineVersion
       The engine version used by the session (for example, <code>PySpark engine version 3</code>). You can get a
       list of engine versions by calling <a>ListEngineVersions</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/GetSessionResult.java