public static interface Job.Builder extends CopyableBuilder<Job.Builder,Job>
| Modifier and Type | Method and Description |
|---|---|
Job.Builder |
allocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to 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 specification was created.
|
Job.Builder |
defaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
|
Job.Builder |
description(String description)
Description of this job.
|
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 specification 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 if it fails.
|
Job.Builder |
name(String name)
The name you assign to this job.
|
Job.Builder |
role(String role)
The role associated with this job.
|
copyapply, buildJob.Builder name(String name)
The name you assign to this job.
name - The name you assign to this job.Job.Builder description(String description)
Description of this job.
description - Description of this job.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 role associated with this job.
role - The role associated with this job.Job.Builder createdOn(Instant createdOn)
The time and date that this job specification was created.
createdOn - The time and date that this job specification was created.Job.Builder lastModifiedOn(Instant lastModifiedOn)
The last point in time when this job specification was modified.
lastModifiedOn - The last point in time when this job specification 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.BuilderexecutionProperty(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.Buildercommand(JobCommand)Job.Builder defaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
defaultArguments - The default parameters for this job.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.Builderconnections(ConnectionsList)Job.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.Job.Builder allocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to this job.
allocatedCapacity - The number of capacity units allocated to this job.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.