public static final class ScalaJobExecutableProps.Builder
extends java.lang.Object
ScalaJobExecutableProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScalaJobExecutableProps |
build()
Builds the configured instance.
|
ScalaJobExecutableProps.Builder |
className(java.lang.String className)
Sets the value of
ScalaJobExecutableProps.getClassName() |
ScalaJobExecutableProps.Builder |
extraFiles(java.util.List<? extends Code> extraFiles)
Sets the value of
ScalaJobExecutableProps.getExtraFiles() |
ScalaJobExecutableProps.Builder |
extraJars(java.util.List<? extends Code> extraJars)
Sets the value of
ScalaJobExecutableProps.getExtraJars() |
ScalaJobExecutableProps.Builder |
extraJarsFirst(java.lang.Boolean extraJarsFirst)
Sets the value of
ScalaJobExecutableProps.getExtraJarsFirst() |
ScalaJobExecutableProps.Builder |
glueVersion(GlueVersion glueVersion)
Sets the value of
ScalaJobExecutableProps.getGlueVersion() |
ScalaJobExecutableProps.Builder |
script(Code script)
Sets the value of
ScalaJobExecutableProps.getScript() |
public ScalaJobExecutableProps.Builder className(java.lang.String className)
ScalaJobExecutableProps.getClassName()
className
- The fully qualified Scala class name that serves as the entry point for the job. This parameter is required.this
public ScalaJobExecutableProps.Builder glueVersion(GlueVersion glueVersion)
ScalaJobExecutableProps.getGlueVersion()
glueVersion
- Glue version. This parameter is required.this
public ScalaJobExecutableProps.Builder script(Code script)
ScalaJobExecutableProps.getScript()
script
- The script that executes a job. This parameter is required.this
public ScalaJobExecutableProps.Builder extraFiles(java.util.List<? extends Code> extraFiles)
ScalaJobExecutableProps.getExtraFiles()
extraFiles
- Additional files, such as configuration files that AWS Glue copies to the working directory of your script before executing it.
Only individual files are supported, directories are not supported.this
public ScalaJobExecutableProps.Builder extraJars(java.util.List<? extends Code> extraJars)
ScalaJobExecutableProps.getExtraJars()
extraJars
- Additional Java .jar files that AWS Glue adds to the Java classpath before executing your script. Only individual files are supported, directories are not supported.this
public ScalaJobExecutableProps.Builder extraJarsFirst(java.lang.Boolean extraJarsFirst)
ScalaJobExecutableProps.getExtraJarsFirst()
extraJarsFirst
- Setting this value to true prioritizes the customer's extra JAR files in the classpath.this
public ScalaJobExecutableProps build()
ScalaJobExecutableProps
java.lang.NullPointerException
- if any required attribute was not provided