@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataLakeReplicationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides replication details of Amazon Security Lake object.
Constructor and Description |
---|
DataLakeReplicationConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataLakeReplicationConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRegions()
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets.
|
String |
getRoleArn()
Replication settings for the Amazon S3 buckets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegions(Collection<String> regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets.
|
void |
setRoleArn(String roleArn)
Replication settings for the Amazon S3 buckets.
|
String |
toString()
Returns a string representation of this object.
|
DataLakeReplicationConfiguration |
withRegions(Collection<String> regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets.
|
DataLakeReplicationConfiguration |
withRegions(String... regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets.
|
DataLakeReplicationConfiguration |
withRoleArn(String roleArn)
Replication settings for the Amazon S3 buckets.
|
public List<String> getRegions()
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
public void setRegions(Collection<String> regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
regions
- Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets
that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region
as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
public DataLakeReplicationConfiguration withRegions(String... regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets
that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region
as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
public DataLakeReplicationConfiguration withRegions(Collection<String> regions)
Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
regions
- Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon S3 buckets
that are configured for object replication can be owned by the same Amazon Web Services 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 Amazon Web Services Regions or within the same Region
as the source bucket.
Set up one or more rollup Regions by providing the Region or Regions that should contribute to the central rollup Region.
public void setRoleArn(String roleArn)
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
roleArn
- Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management
(IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.public String getRoleArn()
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
public DataLakeReplicationConfiguration withRoleArn(String roleArn)
Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management (IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.
roleArn
- Replication settings for the Amazon S3 buckets. This parameter uses the Identity and Access Management
(IAM) role you created that is managed by Security Lake, to ensure the replication setting is correct.public String toString()
toString
in class Object
Object.toString()
public DataLakeReplicationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.