public static interface JobUpdate.Builder extends CopyableBuilder<JobUpdate.Builder,JobUpdate>
Modifier and Type | Method and Description |
---|---|
JobUpdate.Builder |
allocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to this job.
|
default JobUpdate.Builder |
command(Consumer<JobCommand.Builder> command)
The JobCommand that executes this job.
|
JobUpdate.Builder |
command(JobCommand command)
The JobCommand that executes this job.
|
JobUpdate.Builder |
connections(ConnectionsList connections)
The connections used for this job.
|
default JobUpdate.Builder |
connections(Consumer<ConnectionsList.Builder> connections)
The connections used for this job.
|
JobUpdate.Builder |
defaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
|
JobUpdate.Builder |
description(String description)
Description of the job.
|
default JobUpdate.Builder |
executionProperty(Consumer<ExecutionProperty.Builder> executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
JobUpdate.Builder |
executionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
JobUpdate.Builder |
logUri(String logUri)
This field is reserved for future use.
|
JobUpdate.Builder |
maxRetries(Integer maxRetries)
The maximum number of times to retry this job if it fails.
|
JobUpdate.Builder |
role(String role)
The role associated with this job.
|
copy
apply, build
JobUpdate.Builder description(String description)
Description of the job.
description
- Description of the job.JobUpdate.Builder logUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.JobUpdate.Builder role(String role)
The role associated with this job.
role
- The role associated with this job.JobUpdate.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 JobUpdate.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)
JobUpdate.Builder command(JobCommand command)
The JobCommand that executes this job.
command
- The JobCommand that executes this job.default JobUpdate.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)
JobUpdate.Builder defaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
defaultArguments
- The default parameters for this job.JobUpdate.Builder connections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.default JobUpdate.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)
JobUpdate.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.JobUpdate.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.