Interface BatchGetPartitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchGetPartitionRequest.Builder,
,BatchGetPartitionRequest> GlueRequest.Builder
,SdkBuilder<BatchGetPartitionRequest.Builder,
,BatchGetPartitionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchGetPartitionRequest
public static interface BatchGetPartitionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<BatchGetPartitionRequest.Builder,BatchGetPartitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog where the partitions in question reside.databaseName
(String databaseName) The name of the catalog database where the partitions reside.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionsToGet
(Collection<PartitionValueList> partitionsToGet) A list of partition values identifying the partitions to retrieve.partitionsToGet
(Consumer<PartitionValueList.Builder>... partitionsToGet) A list of partition values identifying the partitions to retrieve.partitionsToGet
(PartitionValueList... partitionsToGet) A list of partition values identifying the partitions to retrieve.The name of the partitions' table.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 Data Catalog where the partitions in question reside. If none is supplied, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId
- The ID of the Data Catalog where the partitions in question reside. If none is supplied, 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
The name of the catalog database where the partitions reside.
- Parameters:
databaseName
- The name of the catalog database where the partitions reside.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the partitions' table.
- Parameters:
tableName
- The name of the partitions' table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
A list of partition values identifying the partitions to retrieve.
- Parameters:
partitionsToGet
- A list of partition values identifying the partitions to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
A list of partition values identifying the partitions to retrieve.
- Parameters:
partitionsToGet
- A list of partition values identifying the partitions to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionsToGet
BatchGetPartitionRequest.Builder partitionsToGet(Consumer<PartitionValueList.Builder>... partitionsToGet) A list of partition values identifying the partitions to retrieve.
This is a convenience method that creates an instance of thePartitionValueList.Builder
avoiding the need to create one manually viaPartitionValueList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionsToGet(List<PartitionValueList>)
.- Parameters:
partitionsToGet
- 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:
-
overrideConfiguration
BatchGetPartitionRequest.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
BatchGetPartitionRequest.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.
-