public static interface UpdatePartitionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<UpdatePartitionRequest.Builder,UpdatePartitionRequest>
Modifier and Type | Method and Description |
---|---|
UpdatePartitionRequest.Builder |
catalogId(String catalogId)
The ID of the Data Catalog where the partition to be updated resides.
|
UpdatePartitionRequest.Builder |
databaseName(String databaseName)
The name of the catalog database in which the table in question resides.
|
default UpdatePartitionRequest.Builder |
partitionInput(Consumer<PartitionInput.Builder> partitionInput)
The new partition object to which to update the partition.
|
UpdatePartitionRequest.Builder |
partitionInput(PartitionInput partitionInput)
The new partition object to which to update the partition.
|
UpdatePartitionRequest.Builder |
partitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
|
UpdatePartitionRequest.Builder |
partitionValueList(String... partitionValueList)
A list of the values defining the partition.
|
UpdatePartitionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdatePartitionRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdatePartitionRequest.Builder |
tableName(String tableName)
The name of the table where the partition to be updated is located.
|
build
requestOverrideConfig
copy
apply, build
UpdatePartitionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the partition to be updated resides. If none is supplied, the AWS
account ID is used by default.UpdatePartitionRequest.Builder databaseName(String databaseName)
The name of the catalog database in which the table in question resides.
databaseName
- The name of the catalog database in which the table in question resides.UpdatePartitionRequest.Builder tableName(String tableName)
The name of the table where the partition to be updated is located.
tableName
- The name of the table where the partition to be updated is located.UpdatePartitionRequest.Builder partitionValueList(Collection<String> partitionValueList)
A list of the values defining the partition.
partitionValueList
- A list of the values defining the partition.UpdatePartitionRequest.Builder partitionValueList(String... partitionValueList)
A list of the values defining the partition.
partitionValueList
- A list of the values defining the partition.UpdatePartitionRequest.Builder partitionInput(PartitionInput partitionInput)
The new partition object to which to update the partition.
partitionInput
- The new partition object to which to update the partition.default UpdatePartitionRequest.Builder partitionInput(Consumer<PartitionInput.Builder> partitionInput)
The new partition object to which to update the partition.
This is a convenience that creates an instance of thePartitionInput.Builder
avoiding the need to
create one manually via PartitionInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to partitionInput(PartitionInput)
.partitionInput
- a consumer that will call methods on PartitionInput.Builder
partitionInput(PartitionInput)
UpdatePartitionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdatePartitionRequest.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.