@Generated(value="software.amazon.awssdk:codegen") public final class Job extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Job.Builder,Job>
Specifies a job definition.
Type | Property and Description |
---|---|
ExecutionProperty |
execution
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
NotificationProperty |
notification
Specifies configuration properties of a job notification.
|
Modifier and Type | Class and Description |
---|---|
static interface |
Job.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedCapacity()
The number of AWS Glue data processing units (DPUs) allocated to runs of this job.
|
static Job.Builder |
builder() |
JobCommand |
command()
The JobCommand that executes this job.
|
ConnectionsList |
connections()
The connections used for this job.
|
Instant |
createdOn()
The time and date that this job definition was created.
|
Map<String,String> |
defaultArguments()
The default arguments for this job, specified as name-value pairs.
|
String |
description()
Description of the job being defined.
|
boolean |
equals(Object obj) |
ExecutionProperty |
executionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedOn()
The last point in time when this job definition was modified.
|
String |
logUri()
This field is reserved for future use.
|
Integer |
maxRetries()
The maximum number of times to retry this job after a JobRun fails.
|
String |
name()
The name you assign to this job definition.
|
NotificationProperty |
notificationProperty()
Specifies configuration properties of a job notification.
|
String |
role()
The name or ARN of the IAM role associated with this job.
|
List<SdkField<?>> |
sdkFields() |
String |
securityConfiguration()
The name of the SecurityConfiguration structure to be used with this job.
|
static Class<? extends Job.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The job timeout in minutes.
|
Job.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ExecutionProperty executionProperty
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
public NotificationProperty notificationProperty
Specifies configuration properties of a job notification.
public String name()
The name you assign to this job definition.
public String description()
Description of the job being defined.
public String logUri()
This field is reserved for future use.
public String role()
The name or ARN of the IAM role associated with this job.
public Instant createdOn()
The time and date that this job definition was created.
public Instant lastModifiedOn()
The last point in time when this job definition was modified.
public ExecutionProperty executionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
public JobCommand command()
The JobCommand that executes this job.
public 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 AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public ConnectionsList connections()
The connections used for this job.
public Integer maxRetries()
The maximum number of times to retry this job after a JobRun fails.
public Integer allocatedCapacity()
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; 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 AWS Glue pricing page.
public 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
status. The default is 2,880 minutes (48 hours).public NotificationProperty notificationProperty()
Specifies configuration properties of a job notification.
public String securityConfiguration()
The name of the SecurityConfiguration structure to be used with this job.
public Job.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Job.Builder,Job>
public static Job.Builder builder()
public static Class<? extends Job.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.