Interface JobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobSummary.Builder,JobSummary>,SdkBuilder<JobSummary.Builder,JobSummary>,SdkPojo
- Enclosing class:
- JobSummary
public static interface JobSummary.Builder extends SdkPojo, CopyableBuilder<JobSummary.Builder,JobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.JobSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.JobSummary.BuilderendedAt(Instant endedAt)The date and time the resource ended running.JobSummary.BuilderjobId(String jobId)The job ID.JobSummary.BuilderlifecycleStatus(String lifecycleStatus)The life cycle status.JobSummary.BuilderlifecycleStatus(JobLifecycleStatus lifecycleStatus)The life cycle status.JobSummary.BuilderlifecycleStatusMessage(String lifecycleStatusMessage)The life cycle status message.JobSummary.BuildermaxFailedTasksCount(Integer maxFailedTasksCount)The number of task failures before the job stops running and is marked asFAILED.JobSummary.BuildermaxRetriesPerTask(Integer maxRetriesPerTask)The maximum number of retries for a job.JobSummary.Buildername(String name)The job name.JobSummary.Builderpriority(Integer priority)The job priority.JobSummary.BuilderstartedAt(Instant startedAt)The date and time the resource started running.JobSummary.BuildertargetTaskRunStatus(String targetTaskRunStatus)The task status to start with on the job.JobSummary.BuildertargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)The task status to start with on the job.JobSummary.BuildertaskRunStatus(String taskRunStatus)The task run status for the job.JobSummary.BuildertaskRunStatus(TaskRunStatus taskRunStatus)The task run status for the job.JobSummary.BuildertaskRunStatusCounts(Map<TaskRunStatus,Integer> taskRunStatusCounts)The number of tasks running on the job.JobSummary.BuildertaskRunStatusCountsWithStrings(Map<String,Integer> taskRunStatusCounts)The number of tasks running on the job.JobSummary.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.JobSummary.BuilderupdatedBy(String updatedBy)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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
createdAt
JobSummary.Builder createdAt(Instant 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
JobSummary.Builder createdBy(String 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.
-
endedAt
JobSummary.Builder endedAt(Instant 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.
-
jobId
JobSummary.Builder jobId(String jobId)
The job ID.
- Parameters:
jobId- The job ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleStatus
JobSummary.Builder lifecycleStatus(String lifecycleStatus)
The life cycle status.
- Parameters:
lifecycleStatus- The life cycle status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobLifecycleStatus,JobLifecycleStatus
-
lifecycleStatus
JobSummary.Builder lifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status.
- Parameters:
lifecycleStatus- The life cycle status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobLifecycleStatus,JobLifecycleStatus
-
lifecycleStatusMessage
JobSummary.Builder lifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
- Parameters:
lifecycleStatusMessage- The life cycle status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFailedTasksCount
JobSummary.Builder maxFailedTasksCount(Integer 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
JobSummary.Builder maxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
- Parameters:
maxRetriesPerTask- The maximum number of retries for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
JobSummary.Builder name(String name)
The job name.
- Parameters:
name- The job name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
JobSummary.Builder priority(Integer priority)
The job priority.
- Parameters:
priority- The job priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
JobSummary.Builder startedAt(Instant 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.
-
targetTaskRunStatus
JobSummary.Builder targetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
- Parameters:
targetTaskRunStatus- The task status to start with on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobTargetTaskRunStatus,JobTargetTaskRunStatus
-
targetTaskRunStatus
JobSummary.Builder targetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status to start with on the job.
- Parameters:
targetTaskRunStatus- The task status to start with on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobTargetTaskRunStatus,JobTargetTaskRunStatus
-
taskRunStatus
JobSummary.Builder taskRunStatus(String taskRunStatus)
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
- Parameters:
taskRunStatus- The task run status for the job.-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskRunStatus,TaskRunStatus
-
-
taskRunStatus
JobSummary.Builder taskRunStatus(TaskRunStatus taskRunStatus)
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
- Parameters:
taskRunStatus- The task run status for the job.-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskRunStatus,TaskRunStatus
-
-
taskRunStatusCountsWithStrings
JobSummary.Builder taskRunStatusCountsWithStrings(Map<String,Integer> 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.
-
taskRunStatusCounts
JobSummary.Builder taskRunStatusCounts(Map<TaskRunStatus,Integer> 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.
-
updatedAt
JobSummary.Builder updatedAt(Instant 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
JobSummary.Builder updatedBy(String 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.
-
-