Interface BatchCreatePartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchCreatePartitionRequest.Builder,,BatchCreatePartitionRequest> GlueRequest.Builder,SdkBuilder<BatchCreatePartitionRequest.Builder,,BatchCreatePartitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchCreatePartitionRequest
public static interface BatchCreatePartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<BatchCreatePartitionRequest.Builder,BatchCreatePartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the catalog in which the partition is to be created.databaseName(String databaseName) The name of the metadata database in which the partition is to be created.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionInputList(Collection<PartitionInput> partitionInputList) A list ofPartitionInputstructures that define the partitions to be created.partitionInputList(Consumer<PartitionInput.Builder>... partitionInputList) A list ofPartitionInputstructures that define the partitions to be created.partitionInputList(PartitionInput... partitionInputList) A list ofPartitionInputstructures that define the partitions to be created.The name of the metadata table in which the partition is to be created.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 created. Currently, this should be the Amazon Web Services account ID.
- Parameters:
catalogId- The ID of the catalog in which the partition is to be created. 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 created.
- Parameters:
databaseName- The name of the metadata database in which the partition is to be created.- 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 created.
- Parameters:
tableName- The name of the metadata table in which the partition is to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInputList
BatchCreatePartitionRequest.Builder partitionInputList(Collection<PartitionInput> partitionInputList) A list of
PartitionInputstructures that define the partitions to be created.- Parameters:
partitionInputList- A list ofPartitionInputstructures that define the partitions to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInputList
A list of
PartitionInputstructures that define the partitions to be created.- Parameters:
partitionInputList- A list ofPartitionInputstructures that define the partitions to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionInputList
BatchCreatePartitionRequest.Builder partitionInputList(Consumer<PartitionInput.Builder>... partitionInputList) A list of
This is a convenience method that creates an instance of thePartitionInputstructures that define the partitions to be created.PartitionInput.Builderavoiding the need to create one manually viaPartitionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartitionInputList(List<PartitionInput>).- Parameters:
partitionInputList- a consumer that will call methods onPartitionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchCreatePartitionRequest.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
BatchCreatePartitionRequest.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.
-