Interface UpdateTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTableRequest.Builder,
,UpdateTableRequest> GlueRequest.Builder
,SdkBuilder<UpdateTableRequest.Builder,
,UpdateTableRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateTableRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog where the table resides.databaseName
(String databaseName) The name of the catalog database in which the table resides.A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 updatedTableInput
object to define the metadata table in the catalog.tableInput
(TableInput tableInput) An updatedTableInput
object to define the metadata table in the catalog.transactionId
(String transactionId) The transaction ID at which to update the table contents.The version ID at which to update the table contents.viewUpdateAction
(String viewUpdateAction) The operation to be performed when updating the view.viewUpdateAction
(ViewUpdateAction viewUpdateAction) The operation to be performed when updating the view.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
catalogId
The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId
- The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
- Parameters:
databaseName
- The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableInput
An updated
TableInput
object to define the metadata table in the catalog.- Parameters:
tableInput
- An updatedTableInput
object to define the metadata table in the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableInput
An updated
This is a convenience method that creates an instance of theTableInput
object to define the metadata table in the catalog.TableInput.Builder
avoiding the need to create one manually viaTableInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableInput(TableInput)
.- Parameters:
tableInput
- a consumer that will call methods onTableInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
skipArchive
By default,
UpdateTable
always creates an archived version of the table before updating it. However, ifskipArchive
is set to true,UpdateTable
does not create the archived version.- Parameters:
skipArchive
- By default,UpdateTable
always creates an archived version of the table before updating it. However, ifskipArchive
is set to true,UpdateTable
does not create the archived version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionId
The transaction ID at which to update the table contents.
- Parameters:
transactionId
- The transaction ID at which to update the table contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
The version ID at which to update the table contents.
- Parameters:
versionId
- The version ID at which to update the table contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewUpdateAction
The operation to be performed when updating the view.
- Parameters:
viewUpdateAction
- The operation to be performed when updating the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
viewUpdateAction
The operation to be performed when updating the view.
- Parameters:
viewUpdateAction
- The operation to be performed when updating the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
force
A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.
- Parameters:
force
- A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-