public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
Modifier and Type | Method and Description |
---|---|
Job.Builder |
allocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) allocated to runs of this job.
|
default Job.Builder |
command(Consumer<JobCommand.Builder> command)
The JobCommand that executes this job.
|
Job.Builder |
command(JobCommand command)
The JobCommand that executes this job.
|
Job.Builder |
connections(ConnectionsList connections)
The connections used for this job.
|
default Job.Builder |
connections(Consumer<ConnectionsList.Builder> connections)
The connections used for this job.
|
Job.Builder |
createdOn(Instant createdOn)
The time and date that this job definition was created.
|
Job.Builder |
defaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
|
Job.Builder |
description(String description)
Description of the job being defined.
|
default Job.Builder |
executionProperty(Consumer<ExecutionProperty.Builder> executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
Job.Builder |
executionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
Job.Builder |
lastModifiedOn(Instant lastModifiedOn)
The last point in time when this job definition was modified.
|
Job.Builder |
logUri(String logUri)
This field is reserved for future use.
|
Job.Builder |
maxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
|
Job.Builder |
name(String name)
The name you assign to this job definition.
|
default Job.Builder |
notificationProperty(Consumer<NotificationProperty.Builder> notificationProperty)
Specifies configuration properties of a job notification.
|
Job.Builder |
notificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
Job.Builder |
role(String role)
The name or ARN of the IAM role associated with this job.
|
Job.Builder |
securityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with this job.
|
Job.Builder |
timeout(Integer timeout)
The job timeout in minutes.
|
copy
applyMutation, build
Job.Builder name(String name)
The name you assign to this job definition.
name
- The name you assign to this job definition.Job.Builder description(String description)
Description of the job being defined.
description
- Description of the job being defined.Job.Builder logUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.Job.Builder role(String role)
The name or ARN of the IAM role associated with this job.
role
- The name or ARN of the IAM role associated with this job.Job.Builder createdOn(Instant createdOn)
The time and date that this job definition was created.
createdOn
- The time and date that this job definition was created.Job.Builder lastModifiedOn(Instant lastModifiedOn)
The last point in time when this job definition was modified.
lastModifiedOn
- The last point in time when this job definition was modified.Job.Builder executionProperty(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.default Job.Builder executionProperty(Consumer<ExecutionProperty.Builder> executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
This is a convenience that creates an instance of theExecutionProperty.Builder
avoiding the need to
create one manually via ExecutionProperty.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to executionProperty(ExecutionProperty)
.executionProperty
- a consumer that will call methods on ExecutionProperty.Builder
executionProperty(ExecutionProperty)
Job.Builder command(JobCommand command)
The JobCommand that executes this job.
command
- The JobCommand that executes this job.default Job.Builder command(Consumer<JobCommand.Builder> command)
The JobCommand that executes this job.
This is a convenience that creates an instance of theJobCommand.Builder
avoiding the need to create
one manually via JobCommand.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to command(JobCommand)
.command
- a consumer that will call methods on JobCommand.Builder
command(JobCommand)
Job.Builder defaultArguments(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.
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.
Job.Builder connections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.default Job.Builder connections(Consumer<ConnectionsList.Builder> connections)
The connections used for this job.
This is a convenience that creates an instance of theConnectionsList.Builder
avoiding the need to
create one manually via ConnectionsList.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to connections(ConnectionsList)
.connections
- a consumer that will call methods on ConnectionsList.Builder
connections(ConnectionsList)
Job.Builder maxRetries(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.Job.Builder allocatedCapacity(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.
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.Job.Builder timeout(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).Job.Builder notificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.default Job.Builder notificationProperty(Consumer<NotificationProperty.Builder> notificationProperty)
Specifies configuration properties of a job notification.
This is a convenience that creates an instance of theNotificationProperty.Builder
avoiding the need
to create one manually via NotificationProperty.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to notificationProperty(NotificationProperty)
.notificationProperty
- a consumer that will call methods on NotificationProperty.Builder
notificationProperty(NotificationProperty)
Job.Builder securityConfiguration(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.