Class CfnReplicatorPropsMixin.TopicReplicationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.msk.mixins.CfnReplicatorPropsMixin.TopicReplicationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicatorPropsMixin.TopicReplicationProperty>
- Enclosing interface:
CfnReplicatorPropsMixin.TopicReplicationProperty
@Stability(Stable)
public static final class CfnReplicatorPropsMixin.TopicReplicationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicatorPropsMixin.TopicReplicationProperty>
A builder for
CfnReplicatorPropsMixin.TopicReplicationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.copyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics) copyAccessControlListsForTopics(IResolvable copyAccessControlListsForTopics) copyTopicConfigurations(Boolean copyTopicConfigurations) copyTopicConfigurations(IResolvable copyTopicConfigurations) detectAndCopyNewTopics(Boolean detectAndCopyNewTopics) detectAndCopyNewTopics(IResolvable detectAndCopyNewTopics) startingPosition(IResolvable startingPosition) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getStartingPosition()startingPosition(CfnReplicatorPropsMixin.ReplicationStartingPositionProperty startingPosition) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getStartingPosition()topicNameConfiguration(IResolvable topicNameConfiguration) topicNameConfiguration(CfnReplicatorPropsMixin.ReplicationTopicNameConfigurationProperty topicNameConfiguration) topicsToExclude(List<String> topicsToExclude) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getTopicsToExclude()topicsToReplicate(List<String> topicsToReplicate) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getTopicsToReplicate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyAccessControlListsForTopics
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder copyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getCopyAccessControlListsForTopics()- Parameters:
copyAccessControlListsForTopics- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.- Returns:
this
-
copyAccessControlListsForTopics
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder copyAccessControlListsForTopics(IResolvable copyAccessControlListsForTopics) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getCopyAccessControlListsForTopics()- Parameters:
copyAccessControlListsForTopics- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.- Returns:
this
-
copyTopicConfigurations
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder copyTopicConfigurations(Boolean copyTopicConfigurations) - Parameters:
copyTopicConfigurations- Whether to periodically configure remote topics to match their corresponding upstream topics.- Returns:
this
-
copyTopicConfigurations
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder copyTopicConfigurations(IResolvable copyTopicConfigurations) - Parameters:
copyTopicConfigurations- Whether to periodically configure remote topics to match their corresponding upstream topics.- Returns:
this
-
detectAndCopyNewTopics
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder detectAndCopyNewTopics(Boolean detectAndCopyNewTopics) - Parameters:
detectAndCopyNewTopics- Whether to periodically check for new topics and partitions.- Returns:
this
-
detectAndCopyNewTopics
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder detectAndCopyNewTopics(IResolvable detectAndCopyNewTopics) - Parameters:
detectAndCopyNewTopics- Whether to periodically check for new topics and partitions.- Returns:
this
-
startingPosition
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder startingPosition(IResolvable startingPosition) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getStartingPosition()- Parameters:
startingPosition- Specifies the position in the topics to start replicating from.- Returns:
this
-
startingPosition
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder startingPosition(CfnReplicatorPropsMixin.ReplicationStartingPositionProperty startingPosition) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getStartingPosition()- Parameters:
startingPosition- Specifies the position in the topics to start replicating from.- Returns:
this
-
topicNameConfiguration
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder topicNameConfiguration(IResolvable topicNameConfiguration) - Parameters:
topicNameConfiguration- Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.- Returns:
this
-
topicNameConfiguration
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder topicNameConfiguration(CfnReplicatorPropsMixin.ReplicationTopicNameConfigurationProperty topicNameConfiguration) - Parameters:
topicNameConfiguration- Configuration for specifying replicated topic names will be the same as their corresponding upstream topics or prefixed with source cluster alias.- Returns:
this
-
topicsToExclude
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder topicsToExclude(List<String> topicsToExclude) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getTopicsToExclude()- Parameters:
topicsToExclude- List of regular expression patterns indicating the topics that should not be replicated.- Returns:
this
-
topicsToReplicate
@Stability(Stable) public CfnReplicatorPropsMixin.TopicReplicationProperty.Builder topicsToReplicate(List<String> topicsToReplicate) Sets the value ofCfnReplicatorPropsMixin.TopicReplicationProperty.getTopicsToReplicate()- Parameters:
topicsToReplicate- List of regular expression patterns indicating the topics to copy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicatorPropsMixin.TopicReplicationProperty>- Returns:
- a new instance of
CfnReplicatorPropsMixin.TopicReplicationProperty - Throws:
NullPointerException- if any required attribute was not provided
-