Interface TableReplicationRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableReplicationRule.Builder,,TableReplicationRule> SdkBuilder<TableReplicationRule.Builder,,TableReplicationRule> SdkPojo
- Enclosing class:
TableReplicationRule
@Mutable
@NotThreadSafe
public static interface TableReplicationRule.Builder
extends SdkPojo, CopyableBuilder<TableReplicationRule.Builder,TableReplicationRule>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<ReplicationDestination> destinations) An array of destination table buckets where this table should be replicated.destinations(Consumer<ReplicationDestination.Builder>... destinations) An array of destination table buckets where this table should be replicated.destinations(ReplicationDestination... destinations) An array of destination table buckets 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
-
destinations
An array of destination table buckets where this table should be replicated.
- Parameters:
destinations- An array of destination table buckets where this table should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
An array of destination table buckets where this table should be replicated.
- Parameters:
destinations- An array of destination table buckets where this table should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
An array of destination table buckets where this table should be replicated.
This is a convenience method that creates an instance of theReplicationDestination.Builderavoiding the need to create one manually viaReplicationDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<ReplicationDestination>).- Parameters:
destinations- a consumer that will call methods onReplicationDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-