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 Details

    • 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 TableInput object to define the metadata table in the catalog.

      Parameters:
      tableInput - An updated TableInput 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

      default UpdateTableRequest.Builder tableInput(Consumer<TableInput.Builder> tableInput)

      An updated TableInput object to define the metadata table in the catalog.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      tableInput - a consumer that will call methods on TableInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • skipArchive

      UpdateTableRequest.Builder skipArchive(Boolean skipArchive)

      By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive 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, if skipArchive 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

      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

      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:
    • 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.