Interface TableResource.Builder

  • Method Details

    • catalogId

      TableResource.Builder catalogId(String catalogId)

      The identifier for the Data Catalog. By default, it is the account ID of the caller.

      Parameters:
      catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      TableResource.Builder databaseName(String databaseName)

      The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.

      Parameters:
      databaseName - The name of the database for the table. Unique to a Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the table.

      Parameters:
      name - The name of the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableWildcard

      TableResource.Builder tableWildcard(TableWildcard tableWildcard)

      A wildcard object representing every table under a database.

      At least one of TableResource$Name or TableResource$TableWildcard is required.

      Parameters:
      tableWildcard - A wildcard object representing every table under a database.

      At least one of TableResource$Name or TableResource$TableWildcard is required.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableWildcard

      default TableResource.Builder tableWildcard(Consumer<TableWildcard.Builder> tableWildcard)

      A wildcard object representing every table under a database.

      At least one of TableResource$Name or TableResource$TableWildcard is required.

      This is a convenience method that creates an instance of the TableWildcard.Builder avoiding the need to create one manually via TableWildcard.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tableWildcard(TableWildcard).

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