Interface BatchDeletePartitionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchDeletePartitionRequest.Builder,BatchDeletePartitionRequest>
,GlueRequest.Builder
,SdkBuilder<BatchDeletePartitionRequest.Builder,BatchDeletePartitionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- BatchDeletePartitionRequest
public static interface BatchDeletePartitionRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<BatchDeletePartitionRequest.Builder,BatchDeletePartitionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeletePartitionRequest.Builder
catalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides.BatchDeletePartitionRequest.Builder
databaseName(String databaseName)
The name of the catalog database in which the table in question resides.BatchDeletePartitionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
BatchDeletePartitionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
BatchDeletePartitionRequest.Builder
partitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list ofPartitionInput
structures that define the partitions to be deleted.BatchDeletePartitionRequest.Builder
partitionsToDelete(Consumer<PartitionValueList.Builder>... partitionsToDelete)
A list ofPartitionInput
structures that define the partitions to be deleted.BatchDeletePartitionRequest.Builder
partitionsToDelete(PartitionValueList... partitionsToDelete)
A list ofPartitionInput
structures that define the partitions to be deleted.BatchDeletePartitionRequest.Builder
tableName(String tableName)
The name of the table that contains the partitions to be deleted.-
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 Detail
-
catalogId
BatchDeletePartitionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId
- The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
BatchDeletePartitionRequest.Builder databaseName(String databaseName)
The name of the catalog database in which the table in question resides.
- Parameters:
databaseName
- The name of the catalog database in which the table in question resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
BatchDeletePartitionRequest.Builder tableName(String tableName)
The name of the table that contains the partitions to be deleted.
- Parameters:
tableName
- The name of the table that contains the partitions to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToDelete
BatchDeletePartitionRequest.Builder partitionsToDelete(Collection<PartitionValueList> partitionsToDelete)
A list of
PartitionInput
structures that define the partitions to be deleted.- Parameters:
partitionsToDelete
- A list ofPartitionInput
structures that define the partitions to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToDelete
BatchDeletePartitionRequest.Builder partitionsToDelete(PartitionValueList... partitionsToDelete)
A list of
PartitionInput
structures that define the partitions to be deleted.- Parameters:
partitionsToDelete
- A list ofPartitionInput
structures that define the partitions to be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToDelete
BatchDeletePartitionRequest.Builder partitionsToDelete(Consumer<PartitionValueList.Builder>... partitionsToDelete)
A list of
This is a convenience method that creates an instance of thePartitionInput
structures that define the partitions to be deleted.PartitionValueList.Builder
avoiding the need to create one manually viaPartitionValueList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#partitionsToDelete(List
.) - Parameters:
partitionsToDelete
- a consumer that will call methods onPartitionValueList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#partitionsToDelete(java.util.Collection
)
-
overrideConfiguration
BatchDeletePartitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
BatchDeletePartitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-