@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicReplicationUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Details for updating the topic replication of a replicator.
Constructor and Description |
---|
TopicReplicationUpdate() |
Modifier and Type | Method and Description |
---|---|
TopicReplicationUpdate |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCopyAccessControlListsForTopics()
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
Boolean |
getCopyTopicConfigurations()
Whether to periodically configure remote topics to match their corresponding upstream topics.
|
Boolean |
getDetectAndCopyNewTopics()
Whether to periodically check for new topics and partitions.
|
List<String> |
getTopicsToExclude()
List of regular expression patterns indicating the topics that should not be replicated.
|
List<String> |
getTopicsToReplicate()
List of regular expression patterns indicating the topics to copy.
|
int |
hashCode() |
Boolean |
isCopyAccessControlListsForTopics()
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
Boolean |
isCopyTopicConfigurations()
Whether to periodically configure remote topics to match their corresponding upstream topics.
|
Boolean |
isDetectAndCopyNewTopics()
Whether to periodically check for new topics and partitions.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
void |
setCopyTopicConfigurations(Boolean copyTopicConfigurations)
Whether to periodically configure remote topics to match their corresponding upstream topics.
|
void |
setDetectAndCopyNewTopics(Boolean detectAndCopyNewTopics)
Whether to periodically check for new topics and partitions.
|
void |
setTopicsToExclude(Collection<String> topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
|
void |
setTopicsToReplicate(Collection<String> topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
|
String |
toString()
Returns a string representation of this object.
|
TopicReplicationUpdate |
withCopyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
TopicReplicationUpdate |
withCopyTopicConfigurations(Boolean copyTopicConfigurations)
Whether to periodically configure remote topics to match their corresponding upstream topics.
|
TopicReplicationUpdate |
withDetectAndCopyNewTopics(Boolean detectAndCopyNewTopics)
Whether to periodically check for new topics and partitions.
|
TopicReplicationUpdate |
withTopicsToExclude(Collection<String> topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
|
TopicReplicationUpdate |
withTopicsToExclude(String... topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
|
TopicReplicationUpdate |
withTopicsToReplicate(Collection<String> topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
|
TopicReplicationUpdate |
withTopicsToReplicate(String... topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
|
public void setCopyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
copyAccessControlListsForTopics
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.public Boolean getCopyAccessControlListsForTopics()
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
public TopicReplicationUpdate withCopyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
copyAccessControlListsForTopics
- Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.public Boolean isCopyAccessControlListsForTopics()
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
public void setCopyTopicConfigurations(Boolean copyTopicConfigurations)
Whether to periodically configure remote topics to match their corresponding upstream topics.
copyTopicConfigurations
- Whether to periodically configure remote topics to match their corresponding upstream topics.public Boolean getCopyTopicConfigurations()
Whether to periodically configure remote topics to match their corresponding upstream topics.
public TopicReplicationUpdate withCopyTopicConfigurations(Boolean copyTopicConfigurations)
Whether to periodically configure remote topics to match their corresponding upstream topics.
copyTopicConfigurations
- Whether to periodically configure remote topics to match their corresponding upstream topics.public Boolean isCopyTopicConfigurations()
Whether to periodically configure remote topics to match their corresponding upstream topics.
public void setDetectAndCopyNewTopics(Boolean detectAndCopyNewTopics)
Whether to periodically check for new topics and partitions.
detectAndCopyNewTopics
- Whether to periodically check for new topics and partitions.public Boolean getDetectAndCopyNewTopics()
Whether to periodically check for new topics and partitions.
public TopicReplicationUpdate withDetectAndCopyNewTopics(Boolean detectAndCopyNewTopics)
Whether to periodically check for new topics and partitions.
detectAndCopyNewTopics
- Whether to periodically check for new topics and partitions.public Boolean isDetectAndCopyNewTopics()
Whether to periodically check for new topics and partitions.
public List<String> getTopicsToExclude()
List of regular expression patterns indicating the topics that should not be replicated.
public void setTopicsToExclude(Collection<String> topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
topicsToExclude
- List of regular expression patterns indicating the topics that should not be replicated.public TopicReplicationUpdate withTopicsToExclude(String... topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
NOTE: This method appends the values to the existing list (if any). Use
setTopicsToExclude(java.util.Collection)
or withTopicsToExclude(java.util.Collection)
if you
want to override the existing values.
topicsToExclude
- List of regular expression patterns indicating the topics that should not be replicated.public TopicReplicationUpdate withTopicsToExclude(Collection<String> topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
topicsToExclude
- List of regular expression patterns indicating the topics that should not be replicated.public List<String> getTopicsToReplicate()
List of regular expression patterns indicating the topics to copy.
public void setTopicsToReplicate(Collection<String> topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
topicsToReplicate
- List of regular expression patterns indicating the topics to copy.public TopicReplicationUpdate withTopicsToReplicate(String... topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
NOTE: This method appends the values to the existing list (if any). Use
setTopicsToReplicate(java.util.Collection)
or withTopicsToReplicate(java.util.Collection)
if
you want to override the existing values.
topicsToReplicate
- List of regular expression patterns indicating the topics to copy.public TopicReplicationUpdate withTopicsToReplicate(Collection<String> topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
topicsToReplicate
- List of regular expression patterns indicating the topics to copy.public String toString()
toString
in class Object
Object.toString()
public TopicReplicationUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.