Class CfnPrincipalPermissions.TableResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.TableResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissions.TableResourceProperty>
- Enclosing interface:
CfnPrincipalPermissions.TableResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissions.TableResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissions.TableResourceProperty>
A builder for
CfnPrincipalPermissions.TableResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getDatabaseName()Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getName()tableWildcard(Object tableWildcard) Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getTableWildcard()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissions.TableResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getCatalogId()- Parameters:
catalogId- The identifier for the Data Catalog. This parameter is required. By default, it is the account ID of the caller.- Returns:
this
-
databaseName
@Stability(Stable) public CfnPrincipalPermissions.TableResourceProperty.Builder databaseName(String databaseName) Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getDatabaseName()- Parameters:
databaseName- The name of the database for the table. This parameter is required. 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 ofCfnPrincipalPermissions.TableResourceProperty.getName()- Parameters:
name- The name of the table.- Returns:
this
-
tableWildcard
@Stability(Stable) public CfnPrincipalPermissions.TableResourceProperty.Builder tableWildcard(Object tableWildcard) Sets the value ofCfnPrincipalPermissions.TableResourceProperty.getTableWildcard()- Parameters:
tableWildcard- A wildcard object representing every table under a database. At least one ofTableResource$NameorTableResource$TableWildcardis required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrincipalPermissions.TableResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissions.TableResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-