public static interface ReplicationConfiguration.Builder extends SdkPojo, CopyableBuilder<ReplicationConfiguration.Builder,ReplicationConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ReplicationConfiguration.Builder |
role(String role)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes
when replicating objects.
|
ReplicationConfiguration.Builder |
rules(Collection<ReplicationRule> rules)
A container for one or more replication rules.
|
ReplicationConfiguration.Builder |
rules(Consumer<ReplicationRule.Builder>... rules)
A container for one or more replication rules.
|
ReplicationConfiguration.Builder |
rules(ReplicationRule... rules)
A container for one or more replication rules.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicationConfiguration.Builder role(String role)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts assumes when replicating objects. For information about S3 replication on Outposts configuration, see Setting up replication in the Amazon S3 User Guide.
role - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that S3 on Outposts
assumes when replicating objects. For information about S3 replication on Outposts configuration, see
Setting up replication in the Amazon S3 User Guide.ReplicationConfiguration.Builder rules(Collection<ReplicationRule> rules)
A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most.
rules - A container for one or more replication rules. A replication configuration must have at least one rule
and can contain an array of 100 rules at the most.ReplicationConfiguration.Builder rules(ReplicationRule... rules)
A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most.
rules - A container for one or more replication rules. A replication configuration must have at least one rule
and can contain an array of 100 rules at the most.ReplicationConfiguration.Builder rules(Consumer<ReplicationRule.Builder>... rules)
A container for one or more replication rules. A replication configuration must have at least one rule and can contain an array of 100 rules at the most.
This is a convenience method that creates an instance of theReplicationRule.Builder avoiding the need to create
one manually via ReplicationRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #rules(List.
rules - a consumer that will call methods on
ReplicationRule.Builder#rules(java.util.Collection) Copyright © 2023. All rights reserved.