Class CfnPermissionsPropsMixin.ResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPermissionsPropsMixin.ResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionsPropsMixin.ResourceProperty>
- Enclosing interface:
CfnPermissionsPropsMixin.ResourceProperty
@Stability(Stable)
public static final class CfnPermissionsPropsMixin.ResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionsPropsMixin.ResourceProperty>
A builder for
CfnPermissionsPropsMixin.ResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseResource(CfnPermissionsPropsMixin.DatabaseResourceProperty databaseResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDatabaseResource()databaseResource(IResolvable databaseResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDatabaseResource()dataLocationResource(CfnPermissionsPropsMixin.DataLocationResourceProperty dataLocationResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDataLocationResource()dataLocationResource(IResolvable dataLocationResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDataLocationResource()tableResource(CfnPermissionsPropsMixin.TableResourceProperty tableResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableResource()tableResource(IResolvable tableResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableResource()tableWithColumnsResource(CfnPermissionsPropsMixin.TableWithColumnsResourceProperty tableWithColumnsResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableWithColumnsResource()tableWithColumnsResource(IResolvable tableWithColumnsResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableWithColumnsResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder databaseResource(IResolvable databaseResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDatabaseResource()- Parameters:
databaseResource- A structure for the database object.- Returns:
this
-
databaseResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder databaseResource(CfnPermissionsPropsMixin.DatabaseResourceProperty databaseResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDatabaseResource()- Parameters:
databaseResource- A structure for the database object.- Returns:
this
-
dataLocationResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder dataLocationResource(IResolvable dataLocationResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDataLocationResource()- Parameters:
dataLocationResource- A structure for a data location object where permissions are granted or revoked.- Returns:
this
-
dataLocationResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder dataLocationResource(CfnPermissionsPropsMixin.DataLocationResourceProperty dataLocationResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getDataLocationResource()- Parameters:
dataLocationResource- A structure for a data location object where permissions are granted or revoked.- Returns:
this
-
tableResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder tableResource(IResolvable tableResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableResource()- Parameters:
tableResource- A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.- Returns:
this
-
tableResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder tableResource(CfnPermissionsPropsMixin.TableResourceProperty tableResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableResource()- Parameters:
tableResource- A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.- Returns:
this
-
tableWithColumnsResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder tableWithColumnsResource(IResolvable tableWithColumnsResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableWithColumnsResource()- Parameters:
tableWithColumnsResource- A structure for a table with columns object. This object is only used when granting a SELECT permission.- Returns:
this
-
tableWithColumnsResource
@Stability(Stable) public CfnPermissionsPropsMixin.ResourceProperty.Builder tableWithColumnsResource(CfnPermissionsPropsMixin.TableWithColumnsResourceProperty tableWithColumnsResource) Sets the value ofCfnPermissionsPropsMixin.ResourceProperty.getTableWithColumnsResource()- Parameters:
tableWithColumnsResource- A structure for a table with columns object. This object is only used when granting a SELECT permission.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionsPropsMixin.ResourceProperty>- Returns:
- a new instance of
CfnPermissionsPropsMixin.ResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-