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 ofPartitionInput
structures that define the partitions to be created.partitionInputList
(Consumer<PartitionInput.Builder>... partitionInputList) A list ofPartitionInput
structures that define the partitions to be created.partitionInputList
(PartitionInput... partitionInputList) A list ofPartitionInput
structures 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
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, 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
PartitionInput
structures that define the partitions to be created.- Parameters:
partitionInputList
- A list ofPartitionInput
structures 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
PartitionInput
structures that define the partitions to be created.- Parameters:
partitionInputList
- A list ofPartitionInput
structures 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 thePartitionInput
structures that define the partitions to be created.PartitionInput.Builder
avoiding the need to create one manually viaPartitionInput.builder()
.When the
Consumer
completes,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.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
BatchCreatePartitionRequest.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.
-