Class CfnPermissionsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lakeformation.CfnPermissionsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionsMixinProps>
- Enclosing interface:
CfnPermissionsMixinProps
@Stability(Stable)
public static final class CfnPermissionsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionsMixinProps>
A builder for
CfnPermissionsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataLakePrincipal(CfnPermissionsPropsMixin.DataLakePrincipalProperty dataLakePrincipal) Sets the value ofCfnPermissionsMixinProps.getDataLakePrincipal()dataLakePrincipal(IResolvable dataLakePrincipal) Sets the value ofCfnPermissionsMixinProps.getDataLakePrincipal()permissions(List<String> permissions) Sets the value ofCfnPermissionsMixinProps.getPermissions()permissionsWithGrantOption(List<String> permissionsWithGrantOption) Sets the value ofCfnPermissionsMixinProps.getPermissionsWithGrantOption()Sets the value ofCfnPermissionsMixinProps.getResource()resource(IResolvable resource) Sets the value ofCfnPermissionsMixinProps.getResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataLakePrincipal
@Stability(Stable) public CfnPermissionsMixinProps.Builder dataLakePrincipal(IResolvable dataLakePrincipal) Sets the value ofCfnPermissionsMixinProps.getDataLakePrincipal()- Parameters:
dataLakePrincipal- The AWS Lake Formation principal.- Returns:
this
-
dataLakePrincipal
@Stability(Stable) public CfnPermissionsMixinProps.Builder dataLakePrincipal(CfnPermissionsPropsMixin.DataLakePrincipalProperty dataLakePrincipal) Sets the value ofCfnPermissionsMixinProps.getDataLakePrincipal()- Parameters:
dataLakePrincipal- The AWS Lake Formation principal.- Returns:
this
-
permissions
Sets the value ofCfnPermissionsMixinProps.getPermissions()- Parameters:
permissions- The permissions granted or revoked.- Returns:
this
-
permissionsWithGrantOption
@Stability(Stable) public CfnPermissionsMixinProps.Builder permissionsWithGrantOption(List<String> permissionsWithGrantOption) Sets the value ofCfnPermissionsMixinProps.getPermissionsWithGrantOption()- Parameters:
permissionsWithGrantOption- Indicates the ability to grant permissions (as a subset of permissions granted).- Returns:
this
-
resource
Sets the value ofCfnPermissionsMixinProps.getResource()- Parameters:
resource- A structure for the resource.- Returns:
this
-
resource
@Stability(Stable) public CfnPermissionsMixinProps.Builder resource(CfnPermissionsPropsMixin.ResourceProperty resource) Sets the value ofCfnPermissionsMixinProps.getResource()- Parameters:
resource- A structure for the resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionsMixinProps>- Returns:
- a new instance of
CfnPermissionsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-