Interface BatchUpdatePartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdatePartitionRequest.Builder,,BatchUpdatePartitionRequest> GlueRequest.Builder,SdkBuilder<BatchUpdatePartitionRequest.Builder,,BatchUpdatePartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdatePartitionRequest
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 100BatchUpdatePartitionRequestEntryobjects to update.entries(Consumer<BatchUpdatePartitionRequestEntry.Builder>... entries) A list of up to 100BatchUpdatePartitionRequestEntryobjects to update.entries(BatchUpdatePartitionRequestEntry... entries) A list of up to 100BatchUpdatePartitionRequestEntryobjects 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
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
-
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
BatchUpdatePartitionRequestEntryobjects to update.- Parameters:
entries- A list of up to 100BatchUpdatePartitionRequestEntryobjects to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
A list of up to 100
BatchUpdatePartitionRequestEntryobjects to update.- Parameters:
entries- A list of up to 100BatchUpdatePartitionRequestEntryobjects 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 theBatchUpdatePartitionRequestEntryobjects to update.BatchUpdatePartitionRequestEntry.Builderavoiding the need to create one manually viaBatchUpdatePartitionRequestEntry.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-