@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicReplication extends Object implements Serializable, Cloneable, StructuredPojo
Details about topic replication.
Constructor and Description |
---|
TopicReplication() |
Modifier and Type | Method and Description |
---|---|
TopicReplication |
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.
|
ReplicationStartingPosition |
getStartingPosition()
Configuration for specifying the position in the topics to start replicating from.
|
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 |
setStartingPosition(ReplicationStartingPosition startingPosition)
Configuration for specifying the position in the topics to start replicating from.
|
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.
|
TopicReplication |
withCopyAccessControlListsForTopics(Boolean copyAccessControlListsForTopics)
Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
TopicReplication |
withCopyTopicConfigurations(Boolean copyTopicConfigurations)
Whether to periodically configure remote topics to match their corresponding upstream topics.
|
TopicReplication |
withDetectAndCopyNewTopics(Boolean detectAndCopyNewTopics)
Whether to periodically check for new topics and partitions.
|
TopicReplication |
withStartingPosition(ReplicationStartingPosition startingPosition)
Configuration for specifying the position in the topics to start replicating from.
|
TopicReplication |
withTopicsToExclude(Collection<String> topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
|
TopicReplication |
withTopicsToExclude(String... topicsToExclude)
List of regular expression patterns indicating the topics that should not be replicated.
|
TopicReplication |
withTopicsToReplicate(Collection<String> topicsToReplicate)
List of regular expression patterns indicating the topics to copy.
|
TopicReplication |
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 TopicReplication 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 TopicReplication 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 TopicReplication 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 void setStartingPosition(ReplicationStartingPosition startingPosition)
Configuration for specifying the position in the topics to start replicating from.
startingPosition
- Configuration for specifying the position in the topics to start replicating from.public ReplicationStartingPosition getStartingPosition()
Configuration for specifying the position in the topics to start replicating from.
public TopicReplication withStartingPosition(ReplicationStartingPosition startingPosition)
Configuration for specifying the position in the topics to start replicating from.
startingPosition
- Configuration for specifying the position in the topics to start replicating from.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 TopicReplication 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 TopicReplication 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 TopicReplication 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 TopicReplication 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 TopicReplication clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.