Interface TableBucketReplicationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableBucketReplicationConfiguration.Builder,,TableBucketReplicationConfiguration> SdkBuilder<TableBucketReplicationConfiguration.Builder,,TableBucketReplicationConfiguration> SdkPojo
- Enclosing class:
TableBucketReplicationConfiguration
@Mutable
@NotThreadSafe
public static interface TableBucketReplicationConfiguration.Builder
extends SdkPojo, CopyableBuilder<TableBucketReplicationConfiguration.Builder,TableBucketReplicationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate tables on your behalf.An array of replication rules that define which tables to replicate and where to replicate them.rules(Consumer<TableBucketReplicationRule.Builder>... rules) An array of replication rules that define which tables to replicate and where to replicate them.rules(TableBucketReplicationRule... rules) An array of replication rules that define which tables to replicate and where to replicate them.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
role
The Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate tables on your behalf.
- Parameters:
role- The Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate tables on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
An array of replication rules that define which tables to replicate and where to replicate them.
- Parameters:
rules- An array of replication rules that define which tables to replicate and where to replicate them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
An array of replication rules that define which tables to replicate and where to replicate them.
- Parameters:
rules- An array of replication rules that define which tables to replicate and where to replicate them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
TableBucketReplicationConfiguration.Builder rules(Consumer<TableBucketReplicationRule.Builder>... rules) An array of replication rules that define which tables to replicate and where to replicate them.
This is a convenience method that creates an instance of theTableBucketReplicationRule.Builderavoiding the need to create one manually viaTableBucketReplicationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<TableBucketReplicationRule>).- Parameters:
rules- a consumer that will call methods onTableBucketReplicationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-