@Stability(value=Stable) public static final class GrantOnPrincipalOptions.Builder extends Object implements software.amazon.jsii.Builder<GrantOnPrincipalOptions>
GrantOnPrincipalOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GrantOnPrincipalOptions.Builder |
actions(List<String> actions)
Sets the value of
CommonGrantOptions.getActions() |
GrantOnPrincipalOptions |
build()
Builds the configured instance.
|
GrantOnPrincipalOptions.Builder |
grantee(IGrantable grantee)
Sets the value of
CommonGrantOptions.getGrantee() |
GrantOnPrincipalOptions.Builder |
resourceArns(List<String> resourceArns)
Sets the value of
CommonGrantOptions.getResourceArns() |
GrantOnPrincipalOptions.Builder |
scope(software.constructs.IConstruct scope)
Sets the value of
GrantOnPrincipalOptions.getScope() |
@Stability(value=Stable) public GrantOnPrincipalOptions.Builder scope(software.constructs.IConstruct scope)
GrantOnPrincipalOptions.getScope()scope - Construct to report warnings on in case grant could not be registered.this@Stability(value=Stable) public GrantOnPrincipalOptions.Builder actions(List<String> actions)
CommonGrantOptions.getActions()actions - The actions to grant. This parameter is required.this@Stability(value=Stable) public GrantOnPrincipalOptions.Builder grantee(IGrantable grantee)
CommonGrantOptions.getGrantee()grantee - The principal to grant to. This parameter is required.this@Stability(value=Stable) public GrantOnPrincipalOptions.Builder resourceArns(List<String> resourceArns)
CommonGrantOptions.getResourceArns()resourceArns - The resource ARNs to grant to. This parameter is required.this@Stability(value=Stable) public GrantOnPrincipalOptions build()
build in interface software.amazon.jsii.Builder<GrantOnPrincipalOptions>GrantOnPrincipalOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.