@InterfaceStability.Evolving public class NewTopicMirror extends java.lang.Object
Constructor and Description |
---|
NewTopicMirror(java.lang.String linkName,
java.lang.String mirrorTopic)
Prepares a new topic that'll mirror its data from a source topic.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
linkName()
The name of the cluster link over which the topic will mirror from.
|
java.lang.String |
mirrorTopic()
The name of the topic to be mirrored over the cluster link, i.e.
|
java.lang.String |
toString() |
public NewTopicMirror(java.lang.String linkName, java.lang.String mirrorTopic)
linkName
- the name of the cluster link over which the topic will mirror frommirrorTopic
- the name of the topic to be mirrored over the cluster linkpublic java.lang.String linkName()
public java.lang.String mirrorTopic()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object