Class CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.TableResourceProperty>
- Enclosing interface:
CfnPrincipalPermissionsPropsMixin.TableResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.TableResourceProperty>
A builder for
CfnPrincipalPermissionsPropsMixin.TableResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissionsPropsMixin.TableResourceProperty.getCatalogId()databaseName(String databaseName) Sets the value ofCfnPrincipalPermissionsPropsMixin.TableResourceProperty.getName()tableWildcard(Object tableWildcard)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnPrincipalPermissionsPropsMixin.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 CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder databaseName(String databaseName) - 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
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder name(String name) Sets the value ofCfnPrincipalPermissionsPropsMixin.TableResourceProperty.getName()- Parameters:
name- The name of the table.- Returns:
this
-
tableWildcard
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.TableResourceProperty.Builder tableWildcard(Object tableWildcard) - 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<CfnPrincipalPermissionsPropsMixin.TableResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissionsPropsMixin.TableResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-