Interface BatchUpdateTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateTaskRequest.Builder,,BatchUpdateTaskRequest> DeadlineRequest.Builder,SdkBuilder<BatchUpdateTaskRequest.Builder,,BatchUpdateTaskRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateTaskRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateTaskRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateTaskRequest.Builder,BatchUpdateTaskRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The unique token which the server uses to recognize retries of the same request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tasks(Collection<BatchUpdateTaskItem> tasks) The list of tasks to update.tasks(Consumer<BatchUpdateTaskItem.Builder>... tasks) The list of tasks to update.tasks(BatchUpdateTaskItem... tasks) The list of tasks to update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
tasks
The list of tasks to update. You can specify up to 100 tasks per request.
- Parameters:
tasks- The list of tasks to update. You can specify up to 100 tasks per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks to update. You can specify up to 100 tasks per request.
- Parameters:
tasks- The list of tasks to update. You can specify up to 100 tasks per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
The list of tasks to update. You can specify up to 100 tasks per request.
This is a convenience method that creates an instance of theBatchUpdateTaskItem.Builderavoiding the need to create one manually viaBatchUpdateTaskItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totasks(List<BatchUpdateTaskItem>).- Parameters:
tasks- a consumer that will call methods onBatchUpdateTaskItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-