public static interface S3CatalogTarget.Builder extends SdkPojo, CopyableBuilder<S3CatalogTarget.Builder,S3CatalogTarget>
Modifier and Type | Method and Description |
---|---|
S3CatalogTarget.Builder |
database(String database)
The name of the database to write to.
|
S3CatalogTarget.Builder |
inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
S3CatalogTarget.Builder |
inputs(String... inputs)
The nodes that are inputs to the data target.
|
S3CatalogTarget.Builder |
name(String name)
The name of the data target.
|
S3CatalogTarget.Builder |
partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3CatalogTarget.Builder |
partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3CatalogTarget.Builder |
schemaChangePolicy(CatalogSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
default S3CatalogTarget.Builder |
schemaChangePolicy(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
S3CatalogTarget.Builder |
table(String table)
The name of the table in the database to write to.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
S3CatalogTarget.Builder name(String name)
The name of the data target.
name
- The name of the data target.S3CatalogTarget.Builder inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.S3CatalogTarget.Builder inputs(String... inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.S3CatalogTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.S3CatalogTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.S3CatalogTarget.Builder table(String table)
The name of the table in the database to write to.
table
- The name of the table in the database to write to.S3CatalogTarget.Builder database(String database)
The name of the database to write to.
database
- The name of the database to write to.S3CatalogTarget.Builder schemaChangePolicy(CatalogSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy
- A policy that specifies update behavior for the crawler.default S3CatalogTarget.Builder schemaChangePolicy(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
This is a convenience method that creates an instance of theCatalogSchemaChangePolicy.Builder
avoiding the need to create one manually via CatalogSchemaChangePolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to schemaChangePolicy(CatalogSchemaChangePolicy)
.
schemaChangePolicy
- a consumer that will call methods on CatalogSchemaChangePolicy.Builder
schemaChangePolicy(CatalogSchemaChangePolicy)
Copyright © 2022. All rights reserved.