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.BuildercolumnWildcard(Consumer<ColumnWildcard.Builder> columnWildcard) A wildcard specified by aColumnWildcardobject.columnWildcard(ColumnWildcard columnWildcard) A wildcard specified by aColumnWildcardobject.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
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 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
ColumnNamesorColumnWildcardis required.- Parameters:
columnNames- The list of column names for the table. At least one ofColumnNamesorColumnWildcardis 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
ColumnNamesorColumnWildcardis required.- Parameters:
columnNames- The list of column names for the table. At least one ofColumnNamesorColumnWildcardis required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnWildcard
A wildcard specified by a
ColumnWildcardobject. At least one ofColumnNamesorColumnWildcardis required.- Parameters:
columnWildcard- A wildcard specified by aColumnWildcardobject. At least one ofColumnNamesorColumnWildcardis 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 theColumnWildcardobject. At least one ofColumnNamesorColumnWildcardis required.ColumnWildcard.Builderavoiding the need to create one manually viaColumnWildcard.builder().When the
Consumercompletes,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:
-