@Stability(value=Experimental) public static final class BucketPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<BucketPolicyProps>
BucketPolicyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BucketPolicyProps.Builder |
bucket(IBucket bucket)
Sets the value of
BucketPolicyProps.getBucket() |
BucketPolicyProps |
build()
Builds the configured instance.
|
BucketPolicyProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
BucketPolicyProps.getRemovalPolicy() |
@Stability(value=Experimental) public BucketPolicyProps.Builder bucket(IBucket bucket)
BucketPolicyProps.getBucket()bucket - The Amazon S3 bucket that the policy applies to. This parameter is required.this@Stability(value=Experimental) public BucketPolicyProps.Builder removalPolicy(RemovalPolicy removalPolicy)
BucketPolicyProps.getRemovalPolicy()removalPolicy - Policy to apply when the policy is removed from this stack.this@Stability(value=Experimental) public BucketPolicyProps build()
build in interface software.amazon.jsii.Builder<BucketPolicyProps>BucketPolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.