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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TableWithColumnsResource.BuildercatalogId(String catalogId)The identifier for the Data Catalog.TableWithColumnsResource.BuildercolumnNames(String... columnNames)The list of column names for the table.TableWithColumnsResource.BuildercolumnNames(Collection<String> columnNames)The list of column names for the table.default TableWithColumnsResource.BuildercolumnWildcard(Consumer<ColumnWildcard.Builder> columnWildcard)A wildcard specified by aColumnWildcardobject.TableWithColumnsResource.BuildercolumnWildcard(ColumnWildcard columnWildcard)A wildcard specified by aColumnWildcardobject.TableWithColumnsResource.BuilderdatabaseName(String databaseName)The name of the database for the table with columns resource.TableWithColumnsResource.Buildername(String name)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 Detail
-
catalogId
TableWithColumnsResource.Builder catalogId(String 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
TableWithColumnsResource.Builder name(String 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
TableWithColumnsResource.Builder columnNames(Collection<String> 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
TableWithColumnsResource.Builder columnNames(String... 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
TableWithColumnsResource.Builder columnWildcard(ColumnWildcard 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:
columnWildcard(ColumnWildcard)
-
-