Class CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissions.TableWithColumnsResourceProperty>
- Enclosing interface:
CfnPrincipalPermissions.TableWithColumnsResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissions.TableWithColumnsResourceProperty>
A builder for
CfnPrincipalPermissions.TableWithColumnsResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPrincipalPermissions.TableWithColumnsResourceProperty.getCatalogId()
columnNames
(List<String> columnNames) columnWildcard
(IResolvable columnWildcard) columnWildcard
(CfnPrincipalPermissions.ColumnWildcardProperty columnWildcard) databaseName
(String databaseName) Sets the value ofCfnPrincipalPermissions.TableWithColumnsResourceProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissions.TableWithColumnsResourceProperty.getCatalogId()
- Parameters:
catalogId
- The identifier for the Data Catalog where the location is registered with AWS Lake Formation . This parameter is required.- Returns:
this
-
databaseName
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder databaseName(String databaseName) - Parameters:
databaseName
- The name of the database for the table with columns resource. This parameter is required. 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
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder name(String name) Sets the value ofCfnPrincipalPermissions.TableWithColumnsResourceProperty.getName()
- Parameters:
name
- The name of the table resource. This parameter is required. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.- Returns:
this
-
columnNames
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder columnNames(List<String> columnNames) - Parameters:
columnNames
- The list of column names for the table. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder columnWildcard(IResolvable columnWildcard) - Parameters:
columnWildcard
- A wildcard specified by aColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnPrincipalPermissions.TableWithColumnsResourceProperty.Builder columnWildcard(CfnPrincipalPermissions.ColumnWildcardProperty columnWildcard) - Parameters:
columnWildcard
- A wildcard specified by aColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPrincipalPermissions.TableWithColumnsResourceProperty>
- Returns:
- a new instance of
CfnPrincipalPermissions.TableWithColumnsResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-