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.BuildertableWildcard(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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$NameorTableResource$TableWildcardis required.- Parameters:
tableWildcard- A wildcard object representing every table under a database.At least one of
TableResource$NameorTableResource$TableWildcardis 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$NameorTableResource$TableWildcardis required.TableWildcard.Builderavoiding the need to create one manually viaTableWildcard.builder().When the
Consumercompletes,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:
-