Interface TopicReplication.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicReplication.Builder,
,TopicReplication> SdkBuilder<TopicReplication.Builder,
,TopicReplication> SdkPojo
- Enclosing class:
TopicReplication
-
Method Summary
Modifier and TypeMethodDescriptioncopyAccessControlListsForTopics
(Boolean copyAccessControlListsForTopics) Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.copyTopicConfigurations
(Boolean copyTopicConfigurations) Whether to periodically configure remote topics to match their corresponding upstream topics.detectAndCopyNewTopics
(Boolean detectAndCopyNewTopics) Whether to periodically check for new topics and partitions.default TopicReplication.Builder
startingPosition
(Consumer<ReplicationStartingPosition.Builder> startingPosition) Configuration for specifying the position in the topics to start replicating from.startingPosition
(ReplicationStartingPosition startingPosition) Configuration for specifying the position in the topics to start replicating from.topicsToExclude
(String... topicsToExclude) List of regular expression patterns indicating the topics that should not be replicated.topicsToExclude
(Collection<String> topicsToExclude) List of regular expression patterns indicating the topics that should not be replicated.topicsToReplicate
(String... topicsToReplicate) List of regular expression patterns indicating the topics to copy.topicsToReplicate
(Collection<String> topicsToReplicate) List of regular expression patterns indicating the topics to copy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
copyAccessControlListsForTopics
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
- Parameters:
copyAccessControlListsForTopics
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTopicConfigurations
Whether to periodically configure remote topics to match their corresponding upstream topics.
- Parameters:
copyTopicConfigurations
- Whether to periodically configure remote topics to match their corresponding upstream topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectAndCopyNewTopics
Whether to periodically check for new topics and partitions.
- Parameters:
detectAndCopyNewTopics
- Whether to periodically check for new topics and partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingPosition
Configuration for specifying the position in the topics to start replicating from.
- Parameters:
startingPosition
- Configuration for specifying the position in the topics to start replicating from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingPosition
default TopicReplication.Builder startingPosition(Consumer<ReplicationStartingPosition.Builder> startingPosition) Configuration for specifying the position in the topics to start replicating from.
This is a convenience method that creates an instance of theReplicationStartingPosition.Builder
avoiding the need to create one manually viaReplicationStartingPosition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartingPosition(ReplicationStartingPosition)
.- Parameters:
startingPosition
- a consumer that will call methods onReplicationStartingPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topicsToExclude
List of regular expression patterns indicating the topics that should not be replicated.
- Parameters:
topicsToExclude
- List of regular expression patterns indicating the topics that should not be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicsToExclude
List of regular expression patterns indicating the topics that should not be replicated.
- Parameters:
topicsToExclude
- List of regular expression patterns indicating the topics that should not be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicsToReplicate
List of regular expression patterns indicating the topics to copy.
- Parameters:
topicsToReplicate
- List of regular expression patterns indicating the topics to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicsToReplicate
List of regular expression patterns indicating the topics to copy.
- Parameters:
topicsToReplicate
- List of regular expression patterns indicating the topics to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-