public static interface BatchGetPartitionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<BatchGetPartitionRequest.Builder,BatchGetPartitionRequest>
Modifier and Type | Method and Description |
---|---|
BatchGetPartitionRequest.Builder |
catalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside.
|
BatchGetPartitionRequest.Builder |
databaseName(String databaseName)
The name of the catalog database where the partitions reside.
|
BatchGetPartitionRequest.Builder |
partitionsToGet(Collection<PartitionValueList> partitionsToGet)
A list of partition values identifying the partitions to retrieve.
|
BatchGetPartitionRequest.Builder |
partitionsToGet(Consumer<PartitionValueList.Builder>... partitionsToGet)
A list of partition values identifying the partitions to retrieve.
|
BatchGetPartitionRequest.Builder |
partitionsToGet(PartitionValueList... partitionsToGet)
A list of partition values identifying the partitions to retrieve.
|
BatchGetPartitionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
BatchGetPartitionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
BatchGetPartitionRequest.Builder |
tableName(String tableName)
The name of the partitions' table.
|
build
requestOverrideConfig
copy
apply, build
BatchGetPartitionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partitions in question reside. If none is supplied, the AWS
account ID is used by default.BatchGetPartitionRequest.Builder databaseName(String databaseName)
The name of the catalog database where the partitions reside.
databaseName
- The name of the catalog database where the partitions reside.BatchGetPartitionRequest.Builder tableName(String tableName)
The name of the partitions' table.
tableName
- The name of the partitions' table.BatchGetPartitionRequest.Builder partitionsToGet(Collection<PartitionValueList> partitionsToGet)
A list of partition values identifying the partitions to retrieve.
partitionsToGet
- A list of partition values identifying the partitions to retrieve.BatchGetPartitionRequest.Builder partitionsToGet(PartitionValueList... partitionsToGet)
A list of partition values identifying the partitions to retrieve.
partitionsToGet
- A list of partition values identifying the partitions to retrieve.BatchGetPartitionRequest.Builder partitionsToGet(Consumer<PartitionValueList.Builder>... partitionsToGet)
A list of partition values identifying the partitions to retrieve.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #partitionsToGet(List)
.partitionsToGet
- a consumer that will call methods on List.Builder
#partitionsToGet(List)
BatchGetPartitionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.BatchGetPartitionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.