Class CfnPermissions.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnPermissions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissions>
- Enclosing class:
CfnPermissions
@Stability(Stable)
public static final class CfnPermissions.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissions>
A fluent builder for
CfnPermissions
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPermissions.Builder
dataLakePrincipal
(IResolvable dataLakePrincipal) The AWS Lake Formation principal.dataLakePrincipal
(CfnPermissions.DataLakePrincipalProperty dataLakePrincipal) The AWS Lake Formation principal.permissions
(List<String> permissions) The permissions granted or revoked.permissionsWithGrantOption
(List<String> permissionsWithGrantOption) Indicates the ability to grant permissions (as a subset of permissions granted).resource
(IResolvable resource) A structure for the resource.resource
(CfnPermissions.ResourceProperty resource) A structure for the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnPermissions.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPermissions.Builder
.
-
dataLakePrincipal
The AWS Lake Formation principal.- Parameters:
dataLakePrincipal
- The AWS Lake Formation principal. This parameter is required.- Returns:
this
- See Also:
-
dataLakePrincipal
@Stability(Stable) public CfnPermissions.Builder dataLakePrincipal(CfnPermissions.DataLakePrincipalProperty dataLakePrincipal) The AWS Lake Formation principal.- Parameters:
dataLakePrincipal
- The AWS Lake Formation principal. This parameter is required.- Returns:
this
- See Also:
-
resource
A structure for the resource.- Parameters:
resource
- A structure for the resource. This parameter is required.- Returns:
this
- See Also:
-
resource
A structure for the resource.- Parameters:
resource
- A structure for the resource. This parameter is required.- Returns:
this
- See Also:
-
permissions
The permissions granted or revoked.- Parameters:
permissions
- The permissions granted or revoked. This parameter is required.- Returns:
this
- See Also:
-
permissionsWithGrantOption
@Stability(Stable) public CfnPermissions.Builder permissionsWithGrantOption(List<String> permissionsWithGrantOption) Indicates the ability to grant permissions (as a subset of permissions granted).- Parameters:
permissionsWithGrantOption
- Indicates the ability to grant permissions (as a subset of permissions granted). This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPermissions>
- Returns:
- a newly built instance of
CfnPermissions
.
-