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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobCommand.Buildername(String name)The name of the job command.JobCommand.BuilderpythonVersion(String pythonVersion)The Python version being used to run a Python shell job.JobCommand.Builderruntime(String runtime)In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment.JobCommand.BuilderscriptLocation(String scriptLocation)Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
JobCommand.Builder name(String name)
The name of the job command. For an Apache Spark ETL job, this must be
glueetl. For a Python shell job, it must bepythonshell. For an Apache Spark streaming ETL job, this must begluestreaming. For a Ray job, this must beglueray.- Parameters:
name- The name of the job command. For an Apache Spark ETL job, this must beglueetl. For a Python shell job, it must bepythonshell. For an Apache Spark streaming ETL job, this must begluestreaming. For a Ray job, this must beglueray.- 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.
-
-