public static interface UpdateTableRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTableRequest.Builder |
catalogId(String catalogId)
The ID of the Data Catalog where the table resides.
|
UpdateTableRequest.Builder |
databaseName(String databaseName)
The name of the catalog database in which the table resides.
|
UpdateTableRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateTableRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateTableRequest.Builder |
skipArchive(Boolean skipArchive)
By default,
UpdateTable always creates an archived version of the table before updating it. |
default UpdateTableRequest.Builder |
tableInput(Consumer<TableInput.Builder> tableInput)
An updated
TableInput object to define the metadata table in the catalog. |
UpdateTableRequest.Builder |
tableInput(TableInput tableInput)
An updated
TableInput object to define the metadata table in the catalog. |
build
overrideConfiguration
copy
applyMutation, build
UpdateTableRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.
catalogId
- The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by
default.UpdateTableRequest.Builder databaseName(String databaseName)
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
databaseName
- The name of the catalog database in which the table resides. For Hive compatibility, this name is
entirely lowercase.UpdateTableRequest.Builder tableInput(TableInput tableInput)
An updated TableInput
object to define the metadata table in the catalog.
tableInput
- An updated TableInput
object to define the metadata table in the catalog.default UpdateTableRequest.Builder tableInput(Consumer<TableInput.Builder> tableInput)
An updated TableInput
object to define the metadata table in the catalog.
TableInput.Builder
avoiding the need to create
one manually via TableInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to tableInput(TableInput)
.tableInput
- a consumer that will call methods on TableInput.Builder
tableInput(TableInput)
UpdateTableRequest.Builder skipArchive(Boolean skipArchive)
By default, UpdateTable
always creates an archived version of the table before updating it. If
skipArchive
is set to true, however, UpdateTable
does not create the archived
version.
skipArchive
- By default, UpdateTable
always creates an archived version of the table before updating
it. If skipArchive
is set to true, however, UpdateTable
does not create the
archived version.UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.