Class CfnTagAssociation.ResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnTagAssociation.ResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagAssociation.ResourceProperty>
- Enclosing interface:
CfnTagAssociation.ResourceProperty
@Stability(Stable)
public static final class CfnTagAssociation.ResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagAssociation.ResourceProperty>
A builder for
CfnTagAssociation.ResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTagAssociation.ResourceProperty.getCatalog()database(IResolvable database) Sets the value ofCfnTagAssociation.ResourceProperty.getDatabase()Sets the value ofCfnTagAssociation.ResourceProperty.getDatabase()table(IResolvable table) Sets the value ofCfnTagAssociation.ResourceProperty.getTable()Sets the value ofCfnTagAssociation.ResourceProperty.getTable()tableWithColumns(IResolvable tableWithColumns) Sets the value ofCfnTagAssociation.ResourceProperty.getTableWithColumns()tableWithColumns(CfnTagAssociation.TableWithColumnsResourceProperty tableWithColumns) Sets the value ofCfnTagAssociation.ResourceProperty.getTableWithColumns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
Sets the value ofCfnTagAssociation.ResourceProperty.getCatalog()- Parameters:
catalog- The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.- Returns:
this
-
database
Sets the value ofCfnTagAssociation.ResourceProperty.getDatabase()- Parameters:
database- The database for the resource. 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 permissions to a principal.- Returns:
this
-
database
@Stability(Stable) public CfnTagAssociation.ResourceProperty.Builder database(CfnTagAssociation.DatabaseResourceProperty database) Sets the value ofCfnTagAssociation.ResourceProperty.getDatabase()- Parameters:
database- The database for the resource. 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 permissions to a principal.- Returns:
this
-
table
Sets the value ofCfnTagAssociation.ResourceProperty.getTable()- Parameters:
table- The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.- Returns:
this
-
table
@Stability(Stable) public CfnTagAssociation.ResourceProperty.Builder table(CfnTagAssociation.TableResourceProperty table) Sets the value ofCfnTagAssociation.ResourceProperty.getTable()- Parameters:
table- The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.- Returns:
this
-
tableWithColumns
@Stability(Stable) public CfnTagAssociation.ResourceProperty.Builder tableWithColumns(IResolvable tableWithColumns) Sets the value ofCfnTagAssociation.ResourceProperty.getTableWithColumns()- Parameters:
tableWithColumns- The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.- Returns:
this
-
tableWithColumns
@Stability(Stable) public CfnTagAssociation.ResourceProperty.Builder tableWithColumns(CfnTagAssociation.TableWithColumnsResourceProperty tableWithColumns) Sets the value ofCfnTagAssociation.ResourceProperty.getTableWithColumns()- Parameters:
tableWithColumns- The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagAssociation.ResourceProperty>- Returns:
- a new instance of
CfnTagAssociation.ResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-