@Stability(value=Stable) public static final class CfnGrantProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGrantProps>
CfnGrantProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnGrantProps.Builder |
allowedOperations(List<String> allowedOperations)
Sets the value of
CfnGrantProps.getAllowedOperations() |
CfnGrantProps |
build()
Builds the configured instance.
|
CfnGrantProps.Builder |
grantName(String grantName)
Sets the value of
CfnGrantProps.getGrantName() |
CfnGrantProps.Builder |
homeRegion(String homeRegion)
Sets the value of
CfnGrantProps.getHomeRegion() |
CfnGrantProps.Builder |
licenseArn(String licenseArn)
Sets the value of
CfnGrantProps.getLicenseArn() |
CfnGrantProps.Builder |
principals(List<String> principals)
Sets the value of
CfnGrantProps.getPrincipals() |
CfnGrantProps.Builder |
status(String status)
Sets the value of
CfnGrantProps.getStatus() |
@Stability(value=Stable) public CfnGrantProps.Builder allowedOperations(List<String> allowedOperations)
CfnGrantProps.getAllowedOperations()allowedOperations - Allowed operations for the grant.this@Stability(value=Stable) public CfnGrantProps.Builder grantName(String grantName)
CfnGrantProps.getGrantName()grantName - Grant name.this@Stability(value=Stable) public CfnGrantProps.Builder homeRegion(String homeRegion)
CfnGrantProps.getHomeRegion()homeRegion - Home Region of the grant.this@Stability(value=Stable) public CfnGrantProps.Builder licenseArn(String licenseArn)
CfnGrantProps.getLicenseArn()licenseArn - License ARN.this@Stability(value=Stable) public CfnGrantProps.Builder principals(List<String> principals)
CfnGrantProps.getPrincipals()principals - The grant principals.this@Stability(value=Stable) public CfnGrantProps.Builder status(String status)
CfnGrantProps.getStatus()status - Granted license status.this@Stability(value=Stable) public CfnGrantProps build()
build in interface software.amazon.jsii.Builder<CfnGrantProps>CfnGrantPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.