Interface TableWithColumnsResource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TableWithColumnsResource.Builder,TableWithColumnsResource>, SdkBuilder<TableWithColumnsResource.Builder,TableWithColumnsResource>, SdkPojo
Enclosing class:
TableWithColumnsResource

public static interface TableWithColumnsResource.Builder extends SdkPojo, CopyableBuilder<TableWithColumnsResource.Builder,TableWithColumnsResource>
  • Method Details

    • 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

      TableWithColumnsResource.Builder databaseName(String databaseName)

      The name of the database for the table with columns resource. Unique to the 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 with columns resource. Unique to the 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 resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

      Parameters:
      name - The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnNames

      The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.

      Parameters:
      columnNames - The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnNames

      TableWithColumnsResource.Builder columnNames(String... columnNames)

      The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.

      Parameters:
      columnNames - The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnWildcard

      TableWithColumnsResource.Builder columnWildcard(ColumnWildcard columnWildcard)

      A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.

      Parameters:
      columnWildcard - A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • columnWildcard

      default TableWithColumnsResource.Builder columnWildcard(Consumer<ColumnWildcard.Builder> columnWildcard)

      A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.

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

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

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