Interface BatchUpdatePartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdatePartitionRequest.Builder,
,BatchUpdatePartitionRequest> GlueRequest.Builder
,SdkBuilder<BatchUpdatePartitionRequest.Builder,
,BatchUpdatePartitionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchUpdatePartitionRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdatePartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdatePartitionRequest.Builder,BatchUpdatePartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the catalog in which the partition is to be updated.databaseName
(String databaseName) The name of the metadata database in which the partition is to be updated.A list of up to 100BatchUpdatePartitionRequestEntry
objects to update.entries
(Consumer<BatchUpdatePartitionRequestEntry.Builder>... entries) A list of up to 100BatchUpdatePartitionRequestEntry
objects to update.entries
(BatchUpdatePartitionRequestEntry... entries) A list of up to 100BatchUpdatePartitionRequestEntry
objects to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the metadata table in which the partition is to be updated.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.glue.model.GlueRequest.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
-
catalogId
The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.
- Parameters:
catalogId
- The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the metadata database in which the partition is to be updated.
- Parameters:
databaseName
- The name of the metadata database in which the partition is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the metadata table in which the partition is to be updated.
- Parameters:
tableName
- The name of the metadata table in which the partition is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of up to 100
BatchUpdatePartitionRequestEntry
objects to update.- Parameters:
entries
- A list of up to 100BatchUpdatePartitionRequestEntry
objects to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of up to 100
BatchUpdatePartitionRequestEntry
objects to update.- Parameters:
entries
- A list of up to 100BatchUpdatePartitionRequestEntry
objects to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
BatchUpdatePartitionRequest.Builder entries(Consumer<BatchUpdatePartitionRequestEntry.Builder>... entries) A list of up to 100
This is a convenience method that creates an instance of theBatchUpdatePartitionRequestEntry
objects to update.BatchUpdatePartitionRequestEntry.Builder
avoiding the need to create one manually viaBatchUpdatePartitionRequestEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<BatchUpdatePartitionRequestEntry>)
.- Parameters:
entries
- a consumer that will call methods onBatchUpdatePartitionRequestEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdatePartitionRequest.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
BatchUpdatePartitionRequest.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.
-