Interface UpdateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateJobRequest.Builder,
,UpdateJobRequest> DeadlineRequest.Builder
,SdkBuilder<UpdateJobRequest.Builder,
,UpdateJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.The farm ID of the job to update.The job ID to update.lifecycleStatus
(String lifecycleStatus) The status of a job in its lifecycle.lifecycleStatus
(UpdateJobLifecycleStatus lifecycleStatus) The status of a job in its lifecycle.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 for a job.maxWorkerCount
(Integer maxWorkerCount) The maximum number of worker hosts that can concurrently process a job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The job priority to update.The queue ID of the job to update.targetTaskRunStatus
(String targetTaskRunStatus) The task status to update the job's tasks to.targetTaskRunStatus
(JobTargetTaskRunStatus targetTaskRunStatus) The task status to update the job's tasks to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken
- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTaskRunStatus
The task status to update the job's tasks to.
- Parameters:
targetTaskRunStatus
- The task status to update the job's tasks to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetTaskRunStatus
The task status to update the job's tasks to.
- Parameters:
targetTaskRunStatus
- The task status to update the job's tasks to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The job priority to update.
- Parameters:
priority
- The job priority to update.- 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 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.
-
lifecycleStatus
The status of a job in its lifecycle. When you change the status of the job to
ARCHIVED
, the job can't be scheduled or archived.An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
- Parameters:
lifecycleStatus
- The status of a job in its lifecycle. When you change the status of the job toARCHIVED
, the job can't be scheduled or archived.An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleStatus
The status of a job in its lifecycle. When you change the status of the job to
ARCHIVED
, the job can't be scheduled or archived.An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
- Parameters:
lifecycleStatus
- The status of a job in its lifecycle. When you change the status of the job toARCHIVED
, the job can't be scheduled or archived.An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.You can't set the
maxWorkerCount
to 0. If you set it to -1, there is no maximum number of workers.If you don't specify the
maxWorkerCount
, the default is -1.The maximum number of workers that can process tasks in the job.
- 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.You can't set the
maxWorkerCount
to 0. If you set it to -1, there is no maximum number of workers.If you don't specify the
maxWorkerCount
, the default is -1.The maximum number of workers that can process tasks in the job.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
The farm ID of the job to update.
- Parameters:
farmId
- The farm ID of the job to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueId
The queue ID of the job to update.
- Parameters:
queueId
- The queue ID of the job to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The job ID to update.
- Parameters:
jobId
- The job ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-