Class CfnDataLake.ReplicationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securitylake.CfnDataLake.ReplicationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataLake.ReplicationConfigurationProperty>
- Enclosing interface:
CfnDataLake.ReplicationConfigurationProperty
@Stability(Stable)
public static final class CfnDataLake.ReplicationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataLake.ReplicationConfigurationProperty>
A builder for
CfnDataLake.ReplicationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDataLake.ReplicationConfigurationProperty.getRegions()
Sets the value ofCfnDataLake.ReplicationConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regions
@Stability(Stable) public CfnDataLake.ReplicationConfigurationProperty.Builder regions(List<String> regions) Sets the value ofCfnDataLake.ReplicationConfigurationProperty.getRegions()
- Parameters:
regions
- Specifies one or more centralized rollup Regions. The AWS Region specified in the region parameter of theCreateDataLake
orUpdateDataLake
operations 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 CfnDataLake.ReplicationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDataLake.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataLake.ReplicationConfigurationProperty>
- Returns:
- a new instance of
CfnDataLake.ReplicationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-