Class CfnPermissions.TableWithColumnsResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPermissions.TableWithColumnsResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissions.TableWithColumnsResourceProperty>
- Enclosing interface:
CfnPermissions.TableWithColumnsResourceProperty
@Stability(Stable)
public static final class CfnPermissions.TableWithColumnsResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissions.TableWithColumnsResourceProperty>
A builder for
CfnPermissions.TableWithColumnsResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getCatalogId()
columnNames
(List<String> columnNames) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnNames()
columnWildcard
(IResolvable columnWildcard) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnWildcard()
columnWildcard
(CfnPermissions.ColumnWildcardProperty columnWildcard) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnWildcard()
databaseName
(String databaseName) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getDatabaseName()
Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPermissions.TableWithColumnsResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getCatalogId()
- Parameters:
catalogId
- The identifier for the Data Catalog . By default, it is the account ID of the caller.- Returns:
this
-
columnNames
@Stability(Stable) public CfnPermissions.TableWithColumnsResourceProperty.Builder columnNames(List<String> columnNames) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnNames()
- Parameters:
columnNames
- The list of column names for the table. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnPermissions.TableWithColumnsResourceProperty.Builder columnWildcard(IResolvable columnWildcard) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnWildcard()
- Parameters:
columnWildcard
- A wildcard specified by aColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnPermissions.TableWithColumnsResourceProperty.Builder columnWildcard(CfnPermissions.ColumnWildcardProperty columnWildcard) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getColumnWildcard()
- Parameters:
columnWildcard
- A wildcard specified by aColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
databaseName
@Stability(Stable) public CfnPermissions.TableWithColumnsResourceProperty.Builder databaseName(String databaseName) Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getDatabaseName()
- 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:
this
-
name
Sets the value ofCfnPermissions.TableWithColumnsResourceProperty.getName()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermissions.TableWithColumnsResourceProperty>
- Returns:
- a new instance of
CfnPermissions.TableWithColumnsResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-