Class CfnTableBucket.ReplicationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTableBucket.ReplicationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucket.ReplicationConfigurationProperty>
- Enclosing interface:
CfnTableBucket.ReplicationConfigurationProperty
@Stability(Stable)
public static final class CfnTableBucket.ReplicationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucket.ReplicationConfigurationProperty>
A builder for
CfnTableBucket.ReplicationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRole()Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRules()rules(IResolvable rules) Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRole()- Parameters:
role- The ARN of the IAM role to use for replication. This parameter is required.- Returns:
this
-
rules
@Stability(Stable) public CfnTableBucket.ReplicationConfigurationProperty.Builder rules(IResolvable rules) Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRules()- Parameters:
rules- List of replication rules. This parameter is required.- Returns:
this
-
rules
@Stability(Stable) public CfnTableBucket.ReplicationConfigurationProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnTableBucket.ReplicationConfigurationProperty.getRules()- Parameters:
rules- List of replication rules. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableBucket.ReplicationConfigurationProperty>- Returns:
- a new instance of
CfnTableBucket.ReplicationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-