Interface TableReplicationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableReplicationConfiguration.Builder,,TableReplicationConfiguration> SdkBuilder<TableReplicationConfiguration.Builder,,TableReplicationConfiguration> SdkPojo
- Enclosing class:
TableReplicationConfiguration
@Mutable
@NotThreadSafe
public static interface TableReplicationConfiguration.Builder
extends SdkPojo, CopyableBuilder<TableReplicationConfiguration.Builder,TableReplicationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate the table on your behalf.rules(Collection<TableReplicationRule> rules) An array of replication rules that define where this table should be replicated.rules(Consumer<TableReplicationRule.Builder>... rules) An array of replication rules that define where this table should be replicated.rules(TableReplicationRule... rules) An array of replication rules that define where this table should be replicated.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 the table on your behalf.
- Parameters:
role- The Amazon Resource Name (ARN) of the IAM role that S3 Tables assumes to replicate the table 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 where this table should be replicated.
- Parameters:
rules- An array of replication rules that define where this table should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
An array of replication rules that define where this table should be replicated.
- Parameters:
rules- An array of replication rules that define where this table should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
An array of replication rules that define where this table should be replicated.
This is a convenience method that creates an instance of theTableReplicationRule.Builderavoiding the need to create one manually viaTableReplicationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<TableReplicationRule>).- Parameters:
rules- a consumer that will call methods onTableReplicationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-