Interface UpdateTableRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>,GlueRequest.Builder,SdkBuilder<UpdateTableRequest.Builder,UpdateTableRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTableRequest
public static interface UpdateTableRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateTableRequest.BuildercatalogId(String catalogId)The ID of the Data Catalog where the table resides.UpdateTableRequest.BuilderdatabaseName(String databaseName)The name of the catalog database in which the table resides.UpdateTableRequest.Builderforce(Boolean force)A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.UpdateTableRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTableRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTableRequest.BuilderskipArchive(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.UpdateTableRequest.BuildertableInput(TableInput tableInput)An updatedTableInputobject to define the metadata table in the catalog.UpdateTableRequest.BuildertransactionId(String transactionId)The transaction ID at which to update the table contents.UpdateTableRequest.BuilderversionId(String versionId)The version ID at which to update the table contents.UpdateTableRequest.BuilderviewUpdateAction(String viewUpdateAction)The operation to be performed when updating the view.UpdateTableRequest.BuilderviewUpdateAction(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
catalogId
UpdateTableRequest.Builder catalogId(String 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
UpdateTableRequest.Builder databaseName(String 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
UpdateTableRequest.Builder tableInput(TableInput 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
default UpdateTableRequest.Builder tableInput(Consumer<TableInput.Builder> 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:
tableInput(TableInput)
-
skipArchive
UpdateTableRequest.Builder skipArchive(Boolean 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
UpdateTableRequest.Builder transactionId(String 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
UpdateTableRequest.Builder versionId(String 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
UpdateTableRequest.Builder viewUpdateAction(String 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,ViewUpdateAction
-
viewUpdateAction
UpdateTableRequest.Builder viewUpdateAction(ViewUpdateAction 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,ViewUpdateAction
-
force
UpdateTableRequest.Builder force(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-