Interface JobCommand.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JobCommand.Builder,JobCommand>, SdkBuilder<JobCommand.Builder,JobCommand>, SdkPojo
Enclosing class:
JobCommand

public static interface JobCommand.Builder extends SdkPojo, CopyableBuilder<JobCommand.Builder,JobCommand>
  • Method Details

    • name

      The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming. For a Ray job, this must be glueray.

      Parameters:
      name - The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming. For a Ray job, this must be glueray.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scriptLocation

      JobCommand.Builder scriptLocation(String scriptLocation)

      Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.

      Parameters:
      scriptLocation - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pythonVersion

      JobCommand.Builder pythonVersion(String pythonVersion)

      The Python version being used to run a Python shell job. Allowed values are 2 or 3.

      Parameters:
      pythonVersion - The Python version being used to run a Python shell job. Allowed values are 2 or 3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runtime

      JobCommand.Builder runtime(String runtime)

      In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment. This field is not used in other job types. For supported runtime environment values, see Supported Ray runtime environments in the Glue Developer Guide.

      Parameters:
      runtime - In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment. This field is not used in other job types. For supported runtime environment values, see Supported Ray runtime environments in the Glue Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.