public SessionCommand withPythonVersion(String pythonVersion) {
        setPythonVersion(pythonVersion);
        return this;
    }
<p>
Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.
</p>

@param pythonVersion
       Specifies the Python version. The Python version indicates the version supported for jobs of type Spark.
@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/SessionCommand.java