Interface TableResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TableResource.Builder,
,TableResource> SdkBuilder<TableResource.Builder,
,TableResource> SdkPojo
- Enclosing class:
TableResource
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the Data Catalog.databaseName
(String databaseName) The name of the database for the table.The name of the table.default TableResource.Builder
tableWildcard
(Consumer<TableWildcard.Builder> tableWildcard) A wildcard object representing every table under a database.tableWildcard
(TableWildcard tableWildcard) A wildcard object representing every table under a database.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. 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
A wildcard object representing every table under a database.
At least one of
TableResource$Name
orTableResource$TableWildcard
is required.- Parameters:
tableWildcard
- A wildcard object representing every table under a database.At least one of
TableResource$Name
orTableResource$TableWildcard
is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableWildcard
A wildcard object representing every table under a database.
At least one of
This is a convenience method that creates an instance of theTableResource$Name
orTableResource$TableWildcard
is required.TableWildcard.Builder
avoiding the need to create one manually viaTableWildcard.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableWildcard(TableWildcard)
.- Parameters:
tableWildcard
- a consumer that will call methods onTableWildcard.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-