Interface TableWithColumnsResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TableWithColumnsResource.Builder,
,TableWithColumnsResource> SdkBuilder<TableWithColumnsResource.Builder,
,TableWithColumnsResource> SdkPojo
- Enclosing class:
TableWithColumnsResource
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the Data Catalog.columnNames
(String... columnNames) The list of column names for the table.columnNames
(Collection<String> columnNames) The list of column names for the table.default TableWithColumnsResource.Builder
columnWildcard
(Consumer<ColumnWildcard.Builder> columnWildcard) A wildcard specified by aColumnWildcard
object.columnWildcard
(ColumnWildcard columnWildcard) A wildcard specified by aColumnWildcard
object.databaseName
(String databaseName) The name of the database for the table with columns resource.The name of the table resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
orColumnWildcard
is required.- Parameters:
columnNames
- The list of column names for the table. At least one ofColumnNames
orColumnWildcard
is required.- 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
orColumnWildcard
is required.- Parameters:
columnNames
- The list of column names for the table. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnWildcard
A wildcard specified by a
ColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.- Parameters:
columnWildcard
- A wildcard specified by aColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
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
This is a convenience method that creates an instance of theColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.ColumnWildcard.Builder
avoiding the need to create one manually viaColumnWildcard.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumnWildcard(ColumnWildcard)
.- Parameters:
columnWildcard
- a consumer that will call methods onColumnWildcard.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-