Interface BatchUpdateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateJobRequest.Builder,,BatchUpdateJobRequest> DeadlineRequest.Builder,SdkBuilder<BatchUpdateJobRequest.Builder,,BatchUpdateJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateJobRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateJobRequest.Builder
extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateJobRequest.Builder,BatchUpdateJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) The unique token which the server uses to recognize retries of the same request.jobs(Collection<BatchUpdateJobItem> jobs) The list of jobs to update.jobs(Consumer<BatchUpdateJobItem.Builder>... jobs) The list of jobs to update.jobs(BatchUpdateJobItem... jobs) The list of jobs to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.
-
jobs
The list of jobs to update. You can specify up to 100 jobs per request.
- Parameters:
jobs- The list of jobs to update. You can specify up to 100 jobs per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
The list of jobs to update. You can specify up to 100 jobs per request.
- Parameters:
jobs- The list of jobs to update. You can specify up to 100 jobs per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobs
The list of jobs to update. You can specify up to 100 jobs per request.
This is a convenience method that creates an instance of theBatchUpdateJobItem.Builderavoiding the need to create one manually viaBatchUpdateJobItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobs(List<BatchUpdateJobItem>).- Parameters:
jobs- a consumer that will call methods onBatchUpdateJobItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateJobRequest.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
BatchUpdateJobRequest.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.
-