Class JobCommand


  • public final class JobCommand
    extends java.lang.Object
    • Method Detail

      • name

        public java.util.Optional<java.lang.String> name()
        Returns:
        Name of the job command. Defaults to `glueetl`. Use `pythonshell` for Python Shell Job Type, `glueray` for Ray Job Type, or `gluestreaming` for Streaming Job Type. `maxCapacity` needs to be set if `pythonshell` is chosen.
      • pythonVersion

        public java.util.Optional<java.lang.String> pythonVersion()
        Returns:
        Python version being used to execute a Python shell job. Allowed values are 2, 3 or 3.9. Version 3 refers to Python 3.11 when `glueVersion` is set to 5.0.
      • runtime

        public java.util.Optional<java.lang.String> runtime()
        Returns:
        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 [Working with Ray jobs](https://docs.aws.amazon.com/glue/latest/dg/ray-jobs-section.html#author-job-ray-runtimes) in the Glue Developer Guide.
      • scriptLocation

        public java.lang.String scriptLocation()
        Returns:
        S3 path to a script that executes a job.