Interface GetJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetJobResponse.Builder,GetJobResponse>,DeadlineResponse.Builder,SdkBuilder<GetJobResponse.Builder,GetJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetJobResponse
public static interface GetJobResponse.Builder extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetJobResponse.Builderattachments(Consumer<Attachments.Builder> attachments)The attachments for the job.GetJobResponse.Builderattachments(Attachments attachments)The attachments for the job.GetJobResponse.BuildercreatedAt(Instant createdAt)The date and time the resource was created.GetJobResponse.BuildercreatedBy(String createdBy)The user or system that created this resource.GetJobResponse.Builderdescription(String description)The description of the job.GetJobResponse.BuilderendedAt(Instant endedAt)The date and time the resource ended running.GetJobResponse.BuilderjobId(String jobId)The job ID.GetJobResponse.BuilderlifecycleStatus(String lifecycleStatus)The life cycle status for the job.GetJobResponse.BuilderlifecycleStatus(JobLifecycleStatus lifecycleStatus)The life cycle status for the job.GetJobResponse.BuilderlifecycleStatusMessage(String lifecycleStatusMessage)A message that communicates the status of the life cycle for the job.GetJobResponse.BuildermaxFailedTasksCount(Integer maxFailedTasksCount)The number of task failures before the job stops running and is marked asFAILED.GetJobResponse.BuildermaxRetriesPerTask(Integer maxRetriesPerTask)The maximum number of retries per failed tasks.GetJobResponse.Buildername(String name)The name of the job.GetJobResponse.Builderparameters(Map<String,JobParameter> parameters)The parameters for the job.GetJobResponse.Builderpriority(Integer priority)The job priority.GetJobResponse.BuilderstartedAt(Instant startedAt)The date and time the resource started running.GetJobResponse.BuilderstorageProfileId(String storageProfileId)The storage profile ID associated with the job.GetJobResponse.BuildertargetTaskRunStatus(String targetTaskRunStatus)The task status with which the job started.GetJobResponse.BuildertargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)The task status with which the job started.GetJobResponse.BuildertaskRunStatus(String taskRunStatus)The task run status for the job.GetJobResponse.BuildertaskRunStatus(TaskRunStatus taskRunStatus)The task run status for the job.GetJobResponse.BuildertaskRunStatusCounts(Map<TaskRunStatus,Integer> taskRunStatusCounts)The number of tasks running on the job.GetJobResponse.BuildertaskRunStatusCountsWithStrings(Map<String,Integer> taskRunStatusCounts)The number of tasks running on the job.GetJobResponse.BuilderupdatedAt(Instant updatedAt)The date and time the resource was updated.GetJobResponse.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.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attachments
GetJobResponse.Builder attachments(Attachments 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
default GetJobResponse.Builder attachments(Consumer<Attachments.Builder> attachments)
The attachments for the job.
This is a convenience method that creates an instance of theAttachments.Builderavoiding the need to create one manually viaAttachments.builder().When the
Consumercompletes,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:
attachments(Attachments)
-
createdAt
GetJobResponse.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
GetJobResponse.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.
-
description
GetJobResponse.Builder description(String description)
The description of the job.
- Parameters:
description- The description of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
GetJobResponse.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
GetJobResponse.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
GetJobResponse.Builder lifecycleStatus(String 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:
JobLifecycleStatus,JobLifecycleStatus
-
lifecycleStatus
GetJobResponse.Builder lifecycleStatus(JobLifecycleStatus 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:
JobLifecycleStatus,JobLifecycleStatus
-
lifecycleStatusMessage
GetJobResponse.Builder lifecycleStatusMessage(String 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.
-
maxFailedTasksCount
GetJobResponse.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
GetJobResponse.Builder maxRetriesPerTask(Integer 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.
-
name
GetJobResponse.Builder name(String 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.
-
parameters
GetJobResponse.Builder parameters(Map<String,JobParameter> 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.
-
priority
GetJobResponse.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
GetJobResponse.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.
-
storageProfileId
GetJobResponse.Builder storageProfileId(String 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.
-
targetTaskRunStatus
GetJobResponse.Builder targetTaskRunStatus(String 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:
JobTargetTaskRunStatus,JobTargetTaskRunStatus
-
targetTaskRunStatus
GetJobResponse.Builder targetTaskRunStatus(JobTargetTaskRunStatus 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:
JobTargetTaskRunStatus,JobTargetTaskRunStatus
-
taskRunStatus
GetJobResponse.Builder taskRunStatus(String 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,TaskRunStatus
-
taskRunStatus
GetJobResponse.Builder taskRunStatus(TaskRunStatus 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,TaskRunStatus
-
taskRunStatusCountsWithStrings
GetJobResponse.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
GetJobResponse.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
GetJobResponse.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
GetJobResponse.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.
-
-