public static interface JobSummary.Builder extends SdkPojo, CopyableBuilder<JobSummary.Builder,JobSummary>
Modifier and Type | Method and Description |
---|---|
JobSummary.Builder |
arrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
|
default JobSummary.Builder |
arrayProperties(Consumer<ArrayPropertiesSummary.Builder> arrayProperties)
The array properties of the job, if it is an array job.
|
default JobSummary.Builder |
container(Consumer<ContainerSummary.Builder> container)
An object representing the details of the container that is associated with the job.
|
JobSummary.Builder |
container(ContainerSummary container)
An object representing the details of the container that is associated with the job.
|
JobSummary.Builder |
createdAt(Long createdAt)
The Unix timestamp for when the job was created.
|
JobSummary.Builder |
jobId(String jobId)
The ID of the job.
|
JobSummary.Builder |
jobName(String jobName)
The name of the job.
|
default JobSummary.Builder |
nodeProperties(Consumer<NodePropertiesSummary.Builder> nodeProperties)
The node properties for a single node in a job summary list.
|
JobSummary.Builder |
nodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
|
JobSummary.Builder |
startedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the
STARTING
state to the RUNNING state). |
JobSummary.Builder |
status(JobStatus status)
The current status for the job.
|
JobSummary.Builder |
status(String status)
The current status for the job.
|
JobSummary.Builder |
statusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
|
JobSummary.Builder |
stoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the
RUNNING
state to a terminal state, such as SUCCEEDED or FAILED ). |
equalsBySdkFields, sdkFields
copy
applyMutation, build
JobSummary.Builder jobId(String jobId)
The ID of the job.
jobId
- The ID of the job.JobSummary.Builder jobName(String jobName)
The name of the job.
jobName
- The name of the job.JobSummary.Builder createdAt(Long createdAt)
The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the
job entered the SUBMITTED
state (at the time SubmitJob was called). For array child jobs,
this is when the child job was spawned by its parent and entered the PENDING
state.
createdAt
- The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is
when the job entered the SUBMITTED
state (at the time SubmitJob was called). For
array child jobs, this is when the child job was spawned by its parent and entered the
PENDING
state.JobSummary.Builder status(String status)
The current status for the job.
JobSummary.Builder status(JobStatus status)
The current status for the job.
JobSummary.Builder statusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job.
statusReason
- A short, human-readable string to provide additional details about the current status of the job.JobSummary.Builder startedAt(Long startedAt)
The Unix timestamp for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state).
startedAt
- The Unix timestamp for when the job was started (when the job transitioned from the
STARTING
state to the RUNNING
state).JobSummary.Builder stoppedAt(Long stoppedAt)
The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
stoppedAt
- The Unix timestamp for when the job was stopped (when the job transitioned from the
RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).JobSummary.Builder container(ContainerSummary container)
An object representing the details of the container that is associated with the job.
container
- An object representing the details of the container that is associated with the job.default JobSummary.Builder container(Consumer<ContainerSummary.Builder> container)
An object representing the details of the container that is associated with the job.
This is a convenience that creates an instance of theContainerSummary.Builder
avoiding the need to
create one manually via ContainerSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to container(ContainerSummary)
.container
- a consumer that will call methods on ContainerSummary.Builder
container(ContainerSummary)
JobSummary.Builder arrayProperties(ArrayPropertiesSummary arrayProperties)
The array properties of the job, if it is an array job.
arrayProperties
- The array properties of the job, if it is an array job.default JobSummary.Builder arrayProperties(Consumer<ArrayPropertiesSummary.Builder> arrayProperties)
The array properties of the job, if it is an array job.
This is a convenience that creates an instance of theArrayPropertiesSummary.Builder
avoiding the
need to create one manually via ArrayPropertiesSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to arrayProperties(ArrayPropertiesSummary)
.arrayProperties
- a consumer that will call methods on ArrayPropertiesSummary.Builder
arrayProperties(ArrayPropertiesSummary)
JobSummary.Builder nodeProperties(NodePropertiesSummary nodeProperties)
The node properties for a single node in a job summary list.
nodeProperties
- The node properties for a single node in a job summary list.default JobSummary.Builder nodeProperties(Consumer<NodePropertiesSummary.Builder> nodeProperties)
The node properties for a single node in a job summary list.
This is a convenience that creates an instance of theNodePropertiesSummary.Builder
avoiding the need
to create one manually via NodePropertiesSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to nodeProperties(NodePropertiesSummary)
.nodeProperties
- a consumer that will call methods on NodePropertiesSummary.Builder
nodeProperties(NodePropertiesSummary)
Copyright © 2019. All rights reserved.