Class CfnDataLakePropsMixin.ReplicationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securitylake.CfnDataLakePropsMixin.ReplicationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataLakePropsMixin.ReplicationConfigurationProperty>
- Enclosing interface:
CfnDataLakePropsMixin.ReplicationConfigurationProperty
@Stability(Stable)
public static final class CfnDataLakePropsMixin.ReplicationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataLakePropsMixin.ReplicationConfigurationProperty>
A builder for
CfnDataLakePropsMixin.ReplicationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataLakePropsMixin.ReplicationConfigurationProperty.getRegions()Sets the value ofCfnDataLakePropsMixin.ReplicationConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regions
@Stability(Stable) public CfnDataLakePropsMixin.ReplicationConfigurationProperty.Builder regions(List<String> regions) Sets the value ofCfnDataLakePropsMixin.ReplicationConfigurationProperty.getRegions()- Parameters:
regions- Specifies one or more centralized rollup Regions. The AWS Region specified in the region parameter of theCreateDataLakeorUpdateDataLakeoperations contributes data to the rollup Region or Regions specified in this parameter.Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.
- Returns:
this
-
roleArn
@Stability(Stable) public CfnDataLakePropsMixin.ReplicationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDataLakePropsMixin.ReplicationConfigurationProperty.getRoleArn()- Parameters:
roleArn- Replication settings for the Amazon S3 buckets. This parameter uses the AWS Identity and Access Management (IAM) role you created that is managed by Security Lake , to ensure the replication setting is correct.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataLakePropsMixin.ReplicationConfigurationProperty>- Returns:
- a new instance of
CfnDataLakePropsMixin.ReplicationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-