@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a job definition.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
addCodeGenConfigurationNodesEntry(String key,
CodeGenConfigurationNode value)
Add a single CodeGenConfigurationNodes entry
|
Job |
addDefaultArgumentsEntry(String key,
String value)
Add a single DefaultArguments entry
|
Job |
addNonOverridableArgumentsEntry(String key,
String value)
Add a single NonOverridableArguments entry
|
Job |
clearCodeGenConfigurationNodesEntries()
Removes all the entries added into CodeGenConfigurationNodes.
|
Job |
clearDefaultArgumentsEntries()
Removes all the entries added into DefaultArguments.
|
Job |
clearNonOverridableArgumentsEntries()
Removes all the entries added into NonOverridableArguments.
|
Job |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedCapacity()
Deprecated.
|
Map<String,CodeGenConfigurationNode> |
getCodeGenConfigurationNodes()
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio
code generation is based.
|
JobCommand |
getCommand()
The
JobCommand that runs this job. |
ConnectionsList |
getConnections()
The connections used for this job.
|
Date |
getCreatedOn()
The time and date that this job definition was created.
|
Map<String,String> |
getDefaultArguments()
The default arguments for this job, specified as name-value pairs.
|
String |
getDescription()
A description of the job.
|
ExecutionProperty |
getExecutionProperty()
An
ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. |
String |
getGlueVersion()
Glue version determines the versions of Apache Spark and Python that Glue supports.
|
Date |
getLastModifiedOn()
The last point in time when this job definition was modified.
|
String |
getLogUri()
This field is reserved for future use.
|
Double |
getMaxCapacity()
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units
(DPUs) that can be allocated when this job runs.
|
Integer |
getMaxRetries()
The maximum number of times to retry this job after a JobRun fails.
|
String |
getName()
The name you assign to this job definition.
|
Map<String,String> |
getNonOverridableArguments()
Non-overridable arguments for this job, specified as name-value pairs.
|
NotificationProperty |
getNotificationProperty()
Specifies configuration properties of a job notification.
|
Integer |
getNumberOfWorkers()
The number of workers of a defined
workerType that are allocated when a job runs. |
String |
getRole()
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
|
String |
getSecurityConfiguration()
The name of the
SecurityConfiguration structure to be used with this job. |
Integer |
getTimeout()
The job timeout in minutes.
|
String |
getWorkerType()
The type of predefined worker that is allocated when a job runs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllocatedCapacity(Integer allocatedCapacity)
Deprecated.
|
void |
setCodeGenConfigurationNodes(Map<String,CodeGenConfigurationNode> codeGenConfigurationNodes)
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio
code generation is based.
|
void |
setCommand(JobCommand command)
The
JobCommand that runs this job. |
void |
setConnections(ConnectionsList connections)
The connections used for this job.
|
void |
setCreatedOn(Date createdOn)
The time and date that this job definition was created.
|
void |
setDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
|
void |
setDescription(String description)
A description of the job.
|
void |
setExecutionProperty(ExecutionProperty executionProperty)
An
ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. |
void |
setGlueVersion(String glueVersion)
Glue version determines the versions of Apache Spark and Python that Glue supports.
|
void |
setLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
|
void |
setLogUri(String logUri)
This field is reserved for future use.
|
void |
setMaxCapacity(Double maxCapacity)
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units
(DPUs) that can be allocated when this job runs.
|
void |
setMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
|
void |
setName(String name)
The name you assign to this job definition.
|
void |
setNonOverridableArguments(Map<String,String> nonOverridableArguments)
Non-overridable arguments for this job, specified as name-value pairs.
|
void |
setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
void |
setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when a job runs. |
void |
setRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
|
void |
setSecurityConfiguration(String securityConfiguration)
The name of the
SecurityConfiguration structure to be used with this job. |
void |
setTimeout(Integer timeout)
The job timeout in minutes.
|
void |
setWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withAllocatedCapacity(Integer allocatedCapacity)
Deprecated.
|
Job |
withCodeGenConfigurationNodes(Map<String,CodeGenConfigurationNode> codeGenConfigurationNodes)
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio
code generation is based.
|
Job |
withCommand(JobCommand command)
The
JobCommand that runs this job. |
Job |
withConnections(ConnectionsList connections)
The connections used for this job.
|
Job |
withCreatedOn(Date createdOn)
The time and date that this job definition was created.
|
Job |
withDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
|
Job |
withDescription(String description)
A description of the job.
|
Job |
withExecutionProperty(ExecutionProperty executionProperty)
An
ExecutionProperty specifying the maximum number of concurrent runs allowed for this job. |
Job |
withGlueVersion(String glueVersion)
Glue version determines the versions of Apache Spark and Python that Glue supports.
|
Job |
withLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
|
Job |
withLogUri(String logUri)
This field is reserved for future use.
|
Job |
withMaxCapacity(Double maxCapacity)
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units
(DPUs) that can be allocated when this job runs.
|
Job |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
|
Job |
withName(String name)
The name you assign to this job definition.
|
Job |
withNonOverridableArguments(Map<String,String> nonOverridableArguments)
Non-overridable arguments for this job, specified as name-value pairs.
|
Job |
withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
Job |
withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined
workerType that are allocated when a job runs. |
Job |
withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
|
Job |
withSecurityConfiguration(String securityConfiguration)
The name of the
SecurityConfiguration structure to be used with this job. |
Job |
withTimeout(Integer timeout)
The job timeout in minutes.
|
Job |
withWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs.
|
Job |
withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a job runs.
|
public void setName(String name)
The name you assign to this job definition.
name
- The name you assign to this job definition.public String getName()
The name you assign to this job definition.
public Job withName(String name)
The name you assign to this job definition.
name
- The name you assign to this job definition.public void setDescription(String description)
A description of the job.
description
- A description of the job.public String getDescription()
A description of the job.
public Job withDescription(String description)
A description of the job.
description
- A description of the job.public void setLogUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.public String getLogUri()
This field is reserved for future use.
public Job withLogUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.public void setRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
role
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.public String getRole()
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
public Job withRole(String role)
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
role
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.public void setCreatedOn(Date createdOn)
The time and date that this job definition was created.
createdOn
- The time and date that this job definition was created.public Date getCreatedOn()
The time and date that this job definition was created.
public Job withCreatedOn(Date createdOn)
The time and date that this job definition was created.
createdOn
- The time and date that this job definition was created.public void setLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
lastModifiedOn
- The last point in time when this job definition was modified.public Date getLastModifiedOn()
The last point in time when this job definition was modified.
public Job withLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
lastModifiedOn
- The last point in time when this job definition was modified.public void setExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.
executionProperty
- An ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.public ExecutionProperty getExecutionProperty()
An ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.
ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.public Job withExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.
executionProperty
- An ExecutionProperty
specifying the maximum number of concurrent runs allowed for this job.public void setCommand(JobCommand command)
The JobCommand
that runs this job.
command
- The JobCommand
that runs this job.public JobCommand getCommand()
The JobCommand
that runs this job.
JobCommand
that runs this job.public Job withCommand(JobCommand command)
The JobCommand
that runs this job.
command
- The JobCommand
that runs this job.public Map<String,String> getDefaultArguments()
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
public void setDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
defaultArguments
- The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
public Job withDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
defaultArguments
- The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
public Job addDefaultArgumentsEntry(String key, String value)
public Job clearDefaultArgumentsEntries()
public Map<String,String> getNonOverridableArguments()
Non-overridable arguments for this job, specified as name-value pairs.
public void setNonOverridableArguments(Map<String,String> nonOverridableArguments)
Non-overridable arguments for this job, specified as name-value pairs.
nonOverridableArguments
- Non-overridable arguments for this job, specified as name-value pairs.public Job withNonOverridableArguments(Map<String,String> nonOverridableArguments)
Non-overridable arguments for this job, specified as name-value pairs.
nonOverridableArguments
- Non-overridable arguments for this job, specified as name-value pairs.public Job addNonOverridableArgumentsEntry(String key, String value)
public Job clearNonOverridableArgumentsEntries()
public void setConnections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.public ConnectionsList getConnections()
The connections used for this job.
public Job withConnections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.public void setMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
maxRetries
- The maximum number of times to retry this job after a JobRun fails.public Integer getMaxRetries()
The maximum number of times to retry this job after a JobRun fails.
public Job withMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
maxRetries
- The maximum number of times to retry this job after a JobRun fails.@Deprecated public void setAllocatedCapacity(Integer allocatedCapacity)
This field is deprecated. Use MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
allocatedCapacity
- This field is deprecated. Use MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
@Deprecated public Integer getAllocatedCapacity()
This field is deprecated. Use MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
@Deprecated public Job withAllocatedCapacity(Integer allocatedCapacity)
This field is deprecated. Use MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
allocatedCapacity
- This field is deprecated. Use MaxCapacity
instead.
The number of Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
public void setTimeout(Integer timeout)
The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated
and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).
timeout
- The job timeout in minutes. This is the maximum time that a job run can consume resources before it is
terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).public Integer getTimeout()
The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated
and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).
TIMEOUT
status. The default is 2,880 minutes (48 hours).public Job withTimeout(Integer timeout)
The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated
and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).
timeout
- The job timeout in minutes. This is the maximum time that a job run can consume resources before it is
terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours).public void setMaxCapacity(Double maxCapacity)
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python shell
job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either 0.0625
or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark streaming ETL
job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs.
This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you should
specify a Worker type
and the Number of workers
.
maxCapacity
- For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing
units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power
that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python
shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either
0.0625 or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark
streaming ETL job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs. The
default is 10 DPUs. This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you should
specify a Worker type
and the Number of workers
.
public Double getMaxCapacity()
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python shell
job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either 0.0625
or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark streaming ETL
job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs.
This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you should
specify a Worker type
and the Number of workers
.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python
shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either
0.0625 or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark
streaming ETL job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs.
The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you
should specify a Worker type
and the Number of workers
.
public Job withMaxCapacity(Double maxCapacity)
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python shell
job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either 0.0625
or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark streaming ETL
job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs.
This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you should
specify a Worker type
and the Number of workers
.
maxCapacity
- For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing
units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power
that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.
Do not set Max Capacity
if using WorkerType
and NumberOfWorkers
.
The value that can be allocated for MaxCapacity
depends on whether you are running a Python
shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:
When you specify a Python shell job (JobCommand.Name
="pythonshell"), you can allocate either
0.0625 or 1 DPU. The default is 0.0625 DPU.
When you specify an Apache Spark ETL job (JobCommand.Name
="glueetl") or Apache Spark
streaming ETL job (JobCommand.Name
="gluestreaming"), you can allocate from 2 to 100 DPUs. The
default is 10 DPUs. This job type cannot have a fractional DPU allocation.
For Glue version 2.0 jobs, you cannot instead specify a Maximum capacity
. Instead, you should
specify a Worker type
and the Number of workers
.
public void setWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or
G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
WorkerType
public String getWorkerType()
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
WorkerType
public Job withWorkerType(String workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or
G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
WorkerType
public Job withWorkerType(WorkerType workerType)
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2
executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and
provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
workerType
- The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or
G.2X.
For the Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk,
and 2 executors per worker.
For the G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
For the G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk),
and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
WorkerType
public void setNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
numberOfWorkers
- The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
public Integer getNumberOfWorkers()
The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
public Job withNumberOfWorkers(Integer numberOfWorkers)
The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
numberOfWorkers
- The number of workers of a defined workerType
that are allocated when a job runs.
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
public void setSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration
structure to be used with this job.
securityConfiguration
- The name of the SecurityConfiguration
structure to be used with this job.public String getSecurityConfiguration()
The name of the SecurityConfiguration
structure to be used with this job.
SecurityConfiguration
structure to be used with this job.public Job withSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration
structure to be used with this job.
securityConfiguration
- The name of the SecurityConfiguration
structure to be used with this job.public void setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.public NotificationProperty getNotificationProperty()
Specifies configuration properties of a job notification.
public Job withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.public void setGlueVersion(String glueVersion)
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for jobs of type Spark.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
glueVersion
- Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version
indicates the version supported for jobs of type Spark.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
public String getGlueVersion()
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for jobs of type Spark.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
public Job withGlueVersion(String glueVersion)
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for jobs of type Spark.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
glueVersion
- Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version
indicates the version supported for jobs of type Spark.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Jobs that are created without specifying a Glue version default to Glue 0.9.
public Map<String,CodeGenConfigurationNode> getCodeGenConfigurationNodes()
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio code generation is based.
public void setCodeGenConfigurationNodes(Map<String,CodeGenConfigurationNode> codeGenConfigurationNodes)
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio code generation is based.
codeGenConfigurationNodes
- The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue
Studio code generation is based.public Job withCodeGenConfigurationNodes(Map<String,CodeGenConfigurationNode> codeGenConfigurationNodes)
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio code generation is based.
codeGenConfigurationNodes
- The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue
Studio code generation is based.public Job addCodeGenConfigurationNodesEntry(String key, CodeGenConfigurationNode value)
public Job clearCodeGenConfigurationNodesEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.