Class CfnTagAssociation.TableResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnTagAssociation.TableResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagAssociation.TableResourceProperty>
- Enclosing interface:
CfnTagAssociation.TableResourceProperty
@Stability(Stable)
public static final class CfnTagAssociation.TableResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagAssociation.TableResourceProperty>
A builder for
CfnTagAssociation.TableResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTagAssociation.TableResourceProperty.getCatalogId()
databaseName
(String databaseName) Sets the value ofCfnTagAssociation.TableResourceProperty.getDatabaseName()
Sets the value ofCfnTagAssociation.TableResourceProperty.getName()
tableWildcard
(Object tableWildcard) Sets the value ofCfnTagAssociation.TableResourceProperty.getTableWildcard()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogId
@Stability(Stable) public CfnTagAssociation.TableResourceProperty.Builder catalogId(String catalogId) Sets the value ofCfnTagAssociation.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 CfnTagAssociation.TableResourceProperty.Builder databaseName(String databaseName) Sets the value ofCfnTagAssociation.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 ofCfnTagAssociation.TableResourceProperty.getName()
- Parameters:
name
- The name of the table.- Returns:
this
-
tableWildcard
@Stability(Stable) public CfnTagAssociation.TableResourceProperty.Builder tableWildcard(Object tableWildcard) Sets the value ofCfnTagAssociation.TableResourceProperty.getTableWildcard()
- Parameters:
tableWildcard
- A wildcard object representing every table under a database.This is an object with no properties that effectively behaves as a true or false depending on whether not it is passed as a parameter. The valid inputs for a property with this type in either yaml or json is null or {}. At least one ofTableResource$Name
orTableResource$TableWildcard
is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTagAssociation.TableResourceProperty>
- Returns:
- a new instance of
CfnTagAssociation.TableResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-