Class CfnPermissionsPropsMixin.TableResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPermissionsPropsMixin.TableResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionsPropsMixin.TableResourceProperty>
- Enclosing interface:
CfnPermissionsPropsMixin.TableResourceProperty
@Stability(Stable)
public static final class CfnPermissionsPropsMixin.TableResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionsPropsMixin.TableResourceProperty>
A builder for
CfnPermissionsPropsMixin.TableResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getDatabaseName()Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getName()tableWildcard(CfnPermissionsPropsMixin.TableWildcardProperty tableWildcard) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getTableWildcard()tableWildcard(IResolvable tableWildcard) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getTableWildcard()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPermissionsPropsMixin.TableResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getCatalogId()- Parameters:
catalogId- The identifier for the Data Catalog . By default, it is the account ID of the caller.- Returns:
this
-
databaseName
@Stability(Stable) public CfnPermissionsPropsMixin.TableResourceProperty.Builder databaseName(String databaseName) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getDatabaseName()- 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:
this
-
name
Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getName()- Parameters:
name- The name of the table.- Returns:
this
-
tableWildcard
@Stability(Stable) public CfnPermissionsPropsMixin.TableResourceProperty.Builder tableWildcard(IResolvable tableWildcard) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getTableWildcard()- Parameters:
tableWildcard- An empty object representing all tables under a database. If this field is specified instead of theNamefield, all tables underDatabaseNamewill have permission changes applied.- Returns:
this
-
tableWildcard
@Stability(Stable) public CfnPermissionsPropsMixin.TableResourceProperty.Builder tableWildcard(CfnPermissionsPropsMixin.TableWildcardProperty tableWildcard) Sets the value ofCfnPermissionsPropsMixin.TableResourceProperty.getTableWildcard()- Parameters:
tableWildcard- An empty object representing all tables under a database. If this field is specified instead of theNamefield, all tables underDatabaseNamewill have permission changes applied.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionsPropsMixin.TableResourceProperty>- Returns:
- a new instance of
CfnPermissionsPropsMixin.TableResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-