Interface UpdateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateJobRequest.Builder,
,UpdateJobRequest> DeadlineRequest.Builder
,SdkBuilder<UpdateJobRequest.Builder,
,UpdateJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateJobRequest
public static interface UpdateJobRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<UpdateJobRequest.Builder,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.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, 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.
-
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.
-
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.
-
lifecycleStatus
The status of a job in its lifecycle.
- Parameters:
lifecycleStatus
- The status of a job in its lifecycle.- 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.
- Parameters:
lifecycleStatus
- The status of a job in its lifecycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-
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.
-
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:
-
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.
-