Interface UpdateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateJobRequest.Builder,,UpdateJobRequest> GlueRequest.Builder,SdkBuilder<UpdateJobRequest.Builder,,UpdateJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateJobRequest
public static interface UpdateJobRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the job definition to update.default UpdateJobRequest.BuilderjobUpdate(Consumer<JobUpdate.Builder> jobUpdate) Specifies the values with which to update the job definition.Specifies the values with which to update the job definition.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.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobName
The name of the job definition to update.
- Parameters:
jobName- The name of the job definition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobUpdate
Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.
- Parameters:
jobUpdate- Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobUpdate
Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.
This is a convenience method that creates an instance of theJobUpdate.Builderavoiding the need to create one manually viaJobUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobUpdate(JobUpdate).- Parameters:
jobUpdate- a consumer that will call methods onJobUpdate.Builder- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-