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