@Stability(value=Stable) public static final class CfnDatabase.PrincipalPrivilegesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDatabase.PrincipalPrivilegesProperty>
CfnDatabase.PrincipalPrivilegesProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDatabase.PrincipalPrivilegesProperty |
build()
Builds the configured instance.
|
CfnDatabase.PrincipalPrivilegesProperty.Builder |
permissions(List<String> permissions)
Sets the value of
CfnDatabase.PrincipalPrivilegesProperty.getPermissions() |
CfnDatabase.PrincipalPrivilegesProperty.Builder |
principal(CfnDatabase.DataLakePrincipalProperty principal)
Sets the value of
CfnDatabase.PrincipalPrivilegesProperty.getPrincipal() |
CfnDatabase.PrincipalPrivilegesProperty.Builder |
principal(IResolvable principal)
Sets the value of
CfnDatabase.PrincipalPrivilegesProperty.getPrincipal() |
@Stability(value=Stable) public CfnDatabase.PrincipalPrivilegesProperty.Builder permissions(List<String> permissions)
CfnDatabase.PrincipalPrivilegesProperty.getPermissions()permissions - The permissions that are granted to the principal.this@Stability(value=Stable) public CfnDatabase.PrincipalPrivilegesProperty.Builder principal(CfnDatabase.DataLakePrincipalProperty principal)
CfnDatabase.PrincipalPrivilegesProperty.getPrincipal()principal - The principal who is granted permissions.this@Stability(value=Stable) public CfnDatabase.PrincipalPrivilegesProperty.Builder principal(IResolvable principal)
CfnDatabase.PrincipalPrivilegesProperty.getPrincipal()principal - The principal who is granted permissions.this@Stability(value=Stable) public CfnDatabase.PrincipalPrivilegesProperty build()
build in interface software.amazon.jsii.Builder<CfnDatabase.PrincipalPrivilegesProperty>CfnDatabase.PrincipalPrivilegesPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.