public static interface JobRun.Builder extends CopyableBuilder<JobRun.Builder,JobRun>
| Modifier and Type | Method and Description |
|---|---|
JobRun.Builder |
allocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
|
JobRun.Builder |
arguments(Map<String,String> arguments)
The job arguments associated with this run.
|
JobRun.Builder |
attempt(Integer attempt)
The number or the attempt to run this job.
|
JobRun.Builder |
completedOn(Instant completedOn)
The date and time this job run completed.
|
JobRun.Builder |
errorMessage(String errorMessage)
An error message associated with this job run.
|
JobRun.Builder |
id(String id)
The ID of this job run.
|
JobRun.Builder |
jobName(String jobName)
The name of the job being run.
|
JobRun.Builder |
jobRunState(JobRunState jobRunState)
The current state of the job run.
|
JobRun.Builder |
jobRunState(String jobRunState)
The current state of the job run.
|
JobRun.Builder |
lastModifiedOn(Instant lastModifiedOn)
The last time this job run was modified.
|
JobRun.Builder |
predecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
|
JobRun.Builder |
predecessorRuns(Consumer<Predecessor.Builder>... predecessorRuns)
A list of predecessors to this job run.
|
JobRun.Builder |
predecessorRuns(Predecessor... predecessorRuns)
A list of predecessors to this job run.
|
JobRun.Builder |
previousRunId(String previousRunId)
The ID of the previous run of this job.
|
JobRun.Builder |
startedOn(Instant startedOn)
The date and time at which this job run was started.
|
JobRun.Builder |
triggerName(String triggerName)
The name of the trigger for this job run.
|
copyapply, buildJobRun.Builder id(String id)
The ID of this job run.
id - The ID of this job run.JobRun.Builder attempt(Integer attempt)
The number or the attempt to run this job.
attempt - The number or the attempt to run this job.JobRun.Builder previousRunId(String previousRunId)
The ID of the previous run of this job.
previousRunId - The ID of the previous run of this job.JobRun.Builder triggerName(String triggerName)
The name of the trigger for this job run.
triggerName - The name of the trigger for this job run.JobRun.Builder jobName(String jobName)
The name of the job being run.
jobName - The name of the job being run.JobRun.Builder startedOn(Instant startedOn)
The date and time at which this job run was started.
startedOn - The date and time at which this job run was started.JobRun.Builder lastModifiedOn(Instant lastModifiedOn)
The last time this job run was modified.
lastModifiedOn - The last time this job run was modified.JobRun.Builder completedOn(Instant completedOn)
The date and time this job run completed.
completedOn - The date and time this job run completed.JobRun.Builder jobRunState(String jobRunState)
The current state of the job run.
jobRunState - The current state of the job run.JobRunState,
JobRunStateJobRun.Builder jobRunState(JobRunState jobRunState)
The current state of the job run.
jobRunState - The current state of the job run.JobRunState,
JobRunStateJobRun.Builder arguments(Map<String,String> arguments)
The job arguments associated with this run.
arguments - The job arguments associated with this run.JobRun.Builder errorMessage(String errorMessage)
An error message associated with this job run.
errorMessage - An error message associated with this job run.JobRun.Builder predecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
predecessorRuns - A list of predecessors to this job run.JobRun.Builder predecessorRuns(Predecessor... predecessorRuns)
A list of predecessors to this job run.
predecessorRuns - A list of predecessors to this job run.JobRun.Builder predecessorRuns(Consumer<Predecessor.Builder>... predecessorRuns)
A list of predecessors to this job run.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #predecessorRuns(List) .predecessorRuns - a consumer that will call methods on List.Builder #predecessorRuns(List) JobRun.Builder allocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
allocatedCapacity - The amount of infrastructure capacity allocated to this job run.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.