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,UpdateTablealways creates an archived version of the table before updating it.default UpdateTableRequest.BuildertableInput(Consumer<TableInput.Builder> tableInput) An updatedTableInputobject to define the metadata table in the catalog.tableInput(TableInput tableInput) An updatedTableInputobject 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
TableInputobject to define the metadata table in the catalog.- Parameters:
tableInput- An updatedTableInputobject 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 theTableInputobject to define the metadata table in the catalog.TableInput.Builderavoiding the need to create one manually viaTableInput.builder().When the
Consumercompletes,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,
UpdateTablealways creates an archived version of the table before updating it. However, ifskipArchiveis set to true,UpdateTabledoes not create the archived version.- Parameters:
skipArchive- By default,UpdateTablealways creates an archived version of the table before updating it. However, ifskipArchiveis set to true,UpdateTabledoes 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-