public static interface CreateJobRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>
Modifier and Type | Method and Description |
---|---|
CreateJobRequest.Builder |
allocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) to allocate to this Job.
|
default CreateJobRequest.Builder |
command(Consumer<JobCommand.Builder> command)
The JobCommand that executes this job.
|
CreateJobRequest.Builder |
command(JobCommand command)
The JobCommand that executes this job.
|
CreateJobRequest.Builder |
connections(ConnectionsList connections)
The connections used for this job.
|
default CreateJobRequest.Builder |
connections(Consumer<ConnectionsList.Builder> connections)
The connections used for this job.
|
CreateJobRequest.Builder |
defaultArguments(Map<String,String> defaultArguments)
The default arguments for this job.
|
CreateJobRequest.Builder |
description(String description)
Description of the job being defined.
|
default CreateJobRequest.Builder |
executionProperty(Consumer<ExecutionProperty.Builder> executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
CreateJobRequest.Builder |
executionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
CreateJobRequest.Builder |
logUri(String logUri)
This field is reserved for future use.
|
CreateJobRequest.Builder |
maxRetries(Integer maxRetries)
The maximum number of times to retry this job if it fails.
|
CreateJobRequest.Builder |
name(String name)
The name you assign to this job definition.
|
default CreateJobRequest.Builder |
notificationProperty(Consumer<NotificationProperty.Builder> notificationProperty)
Specifies configuration properties of a job notification.
|
CreateJobRequest.Builder |
notificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
CreateJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateJobRequest.Builder |
role(String role)
The name or ARN of the IAM role associated with this job.
|
CreateJobRequest.Builder |
securityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with this job.
|
CreateJobRequest.Builder |
timeout(Integer timeout)
The job timeout in minutes.
|
build
overrideConfiguration
copy
applyMutation, build
CreateJobRequest.Builder name(String name)
The name you assign to this job definition. It must be unique in your account.
name
- The name you assign to this job definition. It must be unique in your account.CreateJobRequest.Builder description(String description)
Description of the job being defined.
description
- Description of the job being defined.CreateJobRequest.Builder logUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.CreateJobRequest.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.CreateJobRequest.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 CreateJobRequest.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)
CreateJobRequest.Builder command(JobCommand command)
The JobCommand that executes this job.
command
- The JobCommand that executes this job.default CreateJobRequest.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)
CreateJobRequest.Builder defaultArguments(Map<String,String> defaultArguments)
The default arguments for this job.
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.
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.
CreateJobRequest.Builder connections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.default CreateJobRequest.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)
CreateJobRequest.Builder maxRetries(Integer maxRetries)
The maximum number of times to retry this job if it fails.
maxRetries
- The maximum number of times to retry this job if it fails.CreateJobRequest.Builder allocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) to allocate to 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) to allocate to 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.CreateJobRequest.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).CreateJobRequest.Builder notificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.default CreateJobRequest.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)
CreateJobRequest.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.CreateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.