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.default TopicReplication.Builder
topicNameConfiguration
(Consumer<ReplicationTopicNameConfiguration.Builder> topicNameConfiguration) Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.topicNameConfiguration
(ReplicationTopicNameConfiguration topicNameConfiguration) Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.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, sdkFieldNameToField, 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:
-
topicNameConfiguration
TopicReplication.Builder topicNameConfiguration(ReplicationTopicNameConfiguration topicNameConfiguration) Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
- Parameters:
topicNameConfiguration
- Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicNameConfiguration
default TopicReplication.Builder topicNameConfiguration(Consumer<ReplicationTopicNameConfiguration.Builder> topicNameConfiguration) Configuration for specifying replicated topic names should be the same as their corresponding upstream topics or prefixed with source cluster alias.
This is a convenience method that creates an instance of theReplicationTopicNameConfiguration.Builder
avoiding the need to create one manually viaReplicationTopicNameConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicNameConfiguration(ReplicationTopicNameConfiguration)
.- Parameters:
topicNameConfiguration
- a consumer that will call methods onReplicationTopicNameConfiguration.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.
-