Interface TableBucketReplicationRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableBucketReplicationRule.Builder,,TableBucketReplicationRule> SdkBuilder<TableBucketReplicationRule.Builder,,TableBucketReplicationRule> SdkPojo
- Enclosing class:
TableBucketReplicationRule
@Mutable
@NotThreadSafe
public static interface TableBucketReplicationRule.Builder
extends SdkPojo, CopyableBuilder<TableBucketReplicationRule.Builder,TableBucketReplicationRule>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<ReplicationDestination> destinations) An array of destination table buckets where tables should be replicated.destinations(Consumer<ReplicationDestination.Builder>... destinations) An array of destination table buckets where tables should be replicated.destinations(ReplicationDestination... destinations) An array of destination table buckets where tables 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 tables should be replicated.
- Parameters:
destinations- An array of destination table buckets where tables 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 tables should be replicated.
- Parameters:
destinations- An array of destination table buckets where tables should be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
TableBucketReplicationRule.Builder destinations(Consumer<ReplicationDestination.Builder>... destinations) An array of destination table buckets where tables 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:
-