Interface JobSearchSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobSearchSummary.Builder,JobSearchSummary>,SdkBuilder<JobSearchSummary.Builder,JobSearchSummary>,SdkPojo
- Enclosing class:
- JobSearchSummary
public static interface JobSearchSummary.Builder extends SdkPojo, CopyableBuilder<JobSearchSummary.Builder,JobSearchSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobSearchSummary.BuildercreatedAt(Instant createdAt)The date and time the resource was created.JobSearchSummary.BuildercreatedBy(String createdBy)The user or system that created this resource.JobSearchSummary.BuilderendedAt(Instant endedAt)The date and time the resource ended running.JobSearchSummary.BuilderjobId(String jobId)The job ID.JobSearchSummary.BuilderjobParameters(Map<String,JobParameter> jobParameters)The job parameters.JobSearchSummary.BuilderlifecycleStatus(String lifecycleStatus)The life cycle status.JobSearchSummary.BuilderlifecycleStatus(JobLifecycleStatus lifecycleStatus)The life cycle status.JobSearchSummary.BuilderlifecycleStatusMessage(String lifecycleStatusMessage)The life cycle status message.JobSearchSummary.BuildermaxFailedTasksCount(Integer maxFailedTasksCount)The number of task failures before the job stops running and is marked asFAILED.JobSearchSummary.BuildermaxRetriesPerTask(Integer maxRetriesPerTask)The maximum number of retries for a job.JobSearchSummary.Buildername(String name)The job name.JobSearchSummary.Builderpriority(Integer priority)The job priority.JobSearchSummary.BuilderqueueId(String queueId)The queue ID.JobSearchSummary.BuilderstartedAt(Instant startedAt)The date and time the resource started running.JobSearchSummary.BuildertargetTaskRunStatus(String targetTaskRunStatus)The task status to start with on the job.JobSearchSummary.BuildertargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)The task status to start with on the job.JobSearchSummary.BuildertaskRunStatus(String taskRunStatus)task run status for the job.JobSearchSummary.BuildertaskRunStatus(TaskRunStatus taskRunStatus)task run status for the job.JobSearchSummary.BuildertaskRunStatusCounts(Map<TaskRunStatus,Integer> taskRunStatusCounts)The number of tasks running on the job.JobSearchSummary.BuildertaskRunStatusCountsWithStrings(Map<String,Integer> taskRunStatusCounts)The number of tasks running on the job.-
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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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.
-
jobParameters
JobSearchSummary.Builder jobParameters(Map<String,JobParameter> jobParameters)
The job parameters.
- Parameters:
jobParameters- The job parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleStatus
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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.
-
queueId
JobSearchSummary.Builder queueId(String queueId)
The queue ID.
- Parameters:
queueId- The queue ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.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
JobSearchSummary.Builder taskRunStatus(String taskRunStatus)
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- 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
JobSearchSummary.Builder taskRunStatus(TaskRunStatus taskRunStatus)
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- 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
JobSearchSummary.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
JobSearchSummary.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.
-
-