public static interface CreatePartitionRequest.Builder extends GlueRequest.Builder, CopyableBuilder<CreatePartitionRequest.Builder,CreatePartitionRequest>
Modifier and Type | Method and Description |
---|---|
CreatePartitionRequest.Builder |
catalogId(String catalogId)
The ID of the catalog in which the partion is to be created.
|
CreatePartitionRequest.Builder |
databaseName(String databaseName)
The name of the metadata database in which the partition is to be created.
|
default CreatePartitionRequest.Builder |
partitionInput(Consumer<PartitionInput.Builder> partitionInput)
A
PartitionInput structure defining the partition to be created. |
CreatePartitionRequest.Builder |
partitionInput(PartitionInput partitionInput)
A
PartitionInput structure defining the partition to be created. |
CreatePartitionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreatePartitionRequest.Builder |
tableName(String tableName)
The name of the metadata table in which the partition is to be created.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreatePartitionRequest.Builder catalogId(String catalogId)
The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account ID.
catalogId
- The ID of the catalog in which the partion is to be created. Currently, this should be the AWS account
ID.CreatePartitionRequest.Builder databaseName(String databaseName)
The name of the metadata database in which the partition is to be created.
databaseName
- The name of the metadata database in which the partition is to be created.CreatePartitionRequest.Builder tableName(String tableName)
The name of the metadata table in which the partition is to be created.
tableName
- The name of the metadata table in which the partition is to be created.CreatePartitionRequest.Builder partitionInput(PartitionInput partitionInput)
A PartitionInput
structure defining the partition to be created.
partitionInput
- A PartitionInput
structure defining the partition to be created.default CreatePartitionRequest.Builder partitionInput(Consumer<PartitionInput.Builder> partitionInput)
A PartitionInput
structure defining the partition to be created.
PartitionInput.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)
CreatePartitionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.