Interface GetJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetJobResponse.Builder,
,GetJobResponse> DeadlineResponse.Builder
,SdkBuilder<GetJobResponse.Builder,
,GetJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetJobResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetJobResponse.Builder
attachments
(Consumer<Attachments.Builder> attachments) The attachments for the job.attachments
(Attachments attachments) The attachments for the job.The date and time the resource was created.The user or system that created this resource.description
(String description) The description of the job.The date and time the resource ended running.The job ID.lifecycleStatus
(String lifecycleStatus) The life cycle status for the job.lifecycleStatus
(JobLifecycleStatus lifecycleStatus) The life cycle status for the job.lifecycleStatusMessage
(String lifecycleStatusMessage) A message that communicates the status of the life cycle for the job.maxFailedTasksCount
(Integer maxFailedTasksCount) The number of task failures before the job stops running and is marked asFAILED
.maxRetriesPerTask
(Integer maxRetriesPerTask) The maximum number of retries per failed tasks.maxWorkerCount
(Integer maxWorkerCount) The maximum number of worker hosts that can concurrently process a job.The name of the job.parameters
(Map<String, JobParameter> parameters) The parameters for the job.The job priority.sourceJobId
(String sourceJobId) The job ID for the source job.The date and time the resource started running.storageProfileId
(String storageProfileId) The storage profile ID associated with the job.targetTaskRunStatus
(String targetTaskRunStatus) The task status with which the job started.targetTaskRunStatus
(JobTargetTaskRunStatus targetTaskRunStatus) The task status with which the job started.taskFailureRetryCount
(Integer taskFailureRetryCount) The total number of times tasks from the job failed and were retried.taskRunStatus
(String taskRunStatus) The task run status for the job.taskRunStatus
(TaskRunStatus taskRunStatus) The task run status for the job.taskRunStatusCounts
(Map<TaskRunStatus, Integer> taskRunStatusCounts) The number of tasks running on the job.taskRunStatusCountsWithStrings
(Map<String, Integer> taskRunStatusCounts) The number of tasks running on the job.The date and time the resource was updated.The user or system that updated this resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobId
The job ID.
- Parameters:
jobId
- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the job.
- Parameters:
name
- The name of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleStatus
The life cycle status for the job.
- Parameters:
lifecycleStatus
- The life cycle status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStatus
The life cycle status for the job.
- Parameters:
lifecycleStatus
- The life cycle status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStatusMessage
A message that communicates the status of the life cycle for the job.
- Parameters:
lifecycleStatusMessage
- A message that communicates the status of the life cycle for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The job priority.
- Parameters:
priority
- The job priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the resource was created.
- Parameters:
createdAt
- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user or system that created this resource.
- Parameters:
createdBy
- The user or system that created this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the resource was updated.
- Parameters:
updatedAt
- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user or system that updated this resource.
- Parameters:
updatedBy
- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The date and time the resource started running.
- Parameters:
startedAt
- The date and time the resource started running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
The date and time the resource ended running.
- Parameters:
endedAt
- The date and time the resource ended running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRunStatus
The task run status for the job.
- Parameters:
taskRunStatus
- The task run status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskRunStatus
The task run status for the job.
- Parameters:
taskRunStatus
- The task run status for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetTaskRunStatus
The task status with which the job started.
- Parameters:
targetTaskRunStatus
- The task status with which the job started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetTaskRunStatus
The task status with which the job started.
- Parameters:
targetTaskRunStatus
- The task status with which the job started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskRunStatusCountsWithStrings
The number of tasks running on the job.
- Parameters:
taskRunStatusCounts
- The number of tasks running on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRunStatusCounts
The number of tasks running on the job.
- Parameters:
taskRunStatusCounts
- The number of tasks running on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskFailureRetryCount
The total number of times tasks from the job failed and were retried.
- Parameters:
taskFailureRetryCount
- The total number of times tasks from the job failed and were retried.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageProfileId
The storage profile ID associated with the job.
- Parameters:
storageProfileId
- The storage profile ID associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFailedTasksCount
The number of task failures before the job stops running and is marked as
FAILED
.- Parameters:
maxFailedTasksCount
- The number of task failures before the job stops running and is marked asFAILED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRetriesPerTask
The maximum number of retries per failed tasks.
- Parameters:
maxRetriesPerTask
- The maximum number of retries per failed tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The parameters for the job.
- Parameters:
parameters
- The parameters for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
The attachments for the job.
- Parameters:
attachments
- The attachments for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
The attachments for the job.
This is a convenience method that creates an instance of theAttachments.Builder
avoiding the need to create one manually viaAttachments.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachments(Attachments)
.- Parameters:
attachments
- a consumer that will call methods onAttachments.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the job.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the job.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxWorkerCount
The maximum number of worker hosts that can concurrently process a job. When the
maxWorkerCount
is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers.If you don't set the
maxWorkerCount
when you create a job, this value is not returned in the response.- Parameters:
maxWorkerCount
- The maximum number of worker hosts that can concurrently process a job. When themaxWorkerCount
is reached, no more workers will be assigned to process the job, even if the fleets assigned to the job's queue has available workers.If you don't set the
maxWorkerCount
when you create a job, this value is not returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceJobId
The job ID for the source job.
- Parameters:
sourceJobId
- The job ID for the source job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-