Class CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.ResourceProperty>
- Enclosing interface:
CfnPrincipalPermissionsPropsMixin.ResourceProperty
@Stability(Stable)
public static final class CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalPermissionsPropsMixin.ResourceProperty>
A builder for
CfnPrincipalPermissionsPropsMixin.ResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getCatalog()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDatabase()database(IResolvable database) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDatabase()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataCellsFilter()dataCellsFilter(IResolvable dataCellsFilter) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataCellsFilter()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataLocation()dataLocation(IResolvable dataLocation) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataLocation()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTag()lfTag(IResolvable lfTag) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTag()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTagPolicy()lfTagPolicy(IResolvable lfTagPolicy) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTagPolicy()Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getTable()table(IResolvable table) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getTable()tableWithColumns(CfnPrincipalPermissionsPropsMixin.TableWithColumnsResourceProperty tableWithColumns) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getTableWithColumns()tableWithColumns(IResolvable tableWithColumns) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getTableWithColumns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder catalog(Object catalog) Sets the value ofCfnPrincipalPermissionsPropsMixin.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
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder database(IResolvable database) Sets the value ofCfnPrincipalPermissionsPropsMixin.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 CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder database(CfnPrincipalPermissionsPropsMixin.DatabaseResourceProperty database) Sets the value ofCfnPrincipalPermissionsPropsMixin.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
-
dataCellsFilter
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder dataCellsFilter(IResolvable dataCellsFilter) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataCellsFilter()- Parameters:
dataCellsFilter- A data cell filter.- Returns:
this
-
dataCellsFilter
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder dataCellsFilter(CfnPrincipalPermissionsPropsMixin.DataCellsFilterResourceProperty dataCellsFilter) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataCellsFilter()- Parameters:
dataCellsFilter- A data cell filter.- Returns:
this
-
dataLocation
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder dataLocation(IResolvable dataLocation) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataLocation()- Parameters:
dataLocation- The location of an Amazon S3 path where permissions are granted or revoked.- Returns:
this
-
dataLocation
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder dataLocation(CfnPrincipalPermissionsPropsMixin.DataLocationResourceProperty dataLocation) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getDataLocation()- Parameters:
dataLocation- The location of an Amazon S3 path where permissions are granted or revoked.- Returns:
this
-
lfTag
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder lfTag(IResolvable lfTag) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTag()- Parameters:
lfTag- The LF-tag key and values attached to a resource.- Returns:
this
-
lfTag
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder lfTag(CfnPrincipalPermissionsPropsMixin.LFTagKeyResourceProperty lfTag) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTag()- Parameters:
lfTag- The LF-tag key and values attached to a resource.- Returns:
this
-
lfTagPolicy
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder lfTagPolicy(IResolvable lfTagPolicy) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTagPolicy()- Parameters:
lfTagPolicy- A list of LF-tag conditions that define a resource's LF-tag policy.- Returns:
this
-
lfTagPolicy
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder lfTagPolicy(CfnPrincipalPermissionsPropsMixin.LFTagPolicyResourceProperty lfTagPolicy) Sets the value ofCfnPrincipalPermissionsPropsMixin.ResourceProperty.getLfTagPolicy()- Parameters:
lfTagPolicy- A list of LF-tag conditions that define a resource's LF-tag policy.- Returns:
this
-
table
@Stability(Stable) public CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder table(IResolvable table) Sets the value ofCfnPrincipalPermissionsPropsMixin.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 CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder table(CfnPrincipalPermissionsPropsMixin.TableResourceProperty table) Sets the value ofCfnPrincipalPermissionsPropsMixin.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 CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder tableWithColumns(IResolvable tableWithColumns) Sets the value ofCfnPrincipalPermissionsPropsMixin.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 CfnPrincipalPermissionsPropsMixin.ResourceProperty.Builder tableWithColumns(CfnPrincipalPermissionsPropsMixin.TableWithColumnsResourceProperty tableWithColumns) Sets the value ofCfnPrincipalPermissionsPropsMixin.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<CfnPrincipalPermissionsPropsMixin.ResourceProperty>- Returns:
- a new instance of
CfnPrincipalPermissionsPropsMixin.ResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-