Class CfnTableBucketPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTableBucketPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucketPolicyProps>
- Enclosing interface:
CfnTableBucketPolicyProps
@Stability(Stable)
public static final class CfnTableBucketPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucketPolicyProps>
A builder for
CfnTableBucketPolicyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourcePolicy(Object resourcePolicy) Sets the value ofCfnTableBucketPolicyProps.getResourcePolicy()tableBucketArn(String tableBucketArn) Sets the value ofCfnTableBucketPolicyProps.getTableBucketArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourcePolicy
Sets the value ofCfnTableBucketPolicyProps.getResourcePolicy()- Parameters:
resourcePolicy- The bucket policy JSON for the table bucket. This parameter is required.- Returns:
this
-
tableBucketArn
Sets the value ofCfnTableBucketPolicyProps.getTableBucketArn()- Parameters:
tableBucketArn- The Amazon Resource Name (ARN) of the table bucket. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableBucketPolicyProps>- Returns:
- a new instance of
CfnTableBucketPolicyProps - Throws:
NullPointerException- if any required attribute was not provided
-