public class ClusterLinkListing extends Object
Constructor and Description |
---|
ClusterLinkListing(String linkName,
Uuid linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available)
Deprecated.
|
ClusterLinkListing(String linkName,
UUID linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available)
Deprecated.
|
ClusterLinkListing(String linkName,
UUID linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available,
ClusterLinkError clusterLinkError,
String linkErrorMessage)
Deprecated.
|
ClusterLinkListing(String linkName,
Uuid linkId,
String remoteClusterId,
String localClusterId,
Optional<Collection<String>> topics,
boolean available,
ClusterLinkError clusterLinkError,
String linkErrorMessage,
ClusterLinkDescription.LinkState linkState)
Creates an cluster link listing.
|
Modifier and Type | Method and Description |
---|---|
boolean |
available() |
String |
clusterId()
The linked cluster's ID, or null if none.
|
ClusterLinkError |
clusterLinkError() |
Uuid |
clusterLinkId()
The Uuid of the cluster link that uniquely represents this cluster link.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
linkErrorMessage() |
UUID |
linkId()
Deprecated.
|
String |
linkName()
The link name for the cluster link.
|
ClusterLinkDescription.LinkState |
linkState() |
String |
localClusterId() |
String |
remoteClusterId() |
Optional<Collection<String>> |
topics()
The topics that are linked with the cluster link, otherwise if empty, then the
topics weren't requested.
|
String |
toString() |
@Deprecated public ClusterLinkListing(String linkName, UUID linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available, ClusterLinkError clusterLinkError, String linkErrorMessage)
linkName
- The link name for the cluster linklinkId
- The UUID associated with the cluster linkremoteClusterId
- linked cluster's ID, or null if not known.localClusterId
- Local cluster id.topics
- The topics that are linked with the cluster link, otherwise if
none, then the topics weren't requested.available
- Can the local cluster talk to the linked cluster or notclusterLinkError
- The error reason for why a link is in an error state. It's value will be NO_ERROR if the link is not in an error state.linkErrorMessage
- Error message describing why a link is in an error state, if it is in fact in an error state.@Deprecated public ClusterLinkListing(String linkName, UUID linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available)
@Deprecated public ClusterLinkListing(String linkName, Uuid linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available)
public ClusterLinkListing(String linkName, Uuid linkId, String remoteClusterId, String localClusterId, Optional<Collection<String>> topics, boolean available, ClusterLinkError clusterLinkError, String linkErrorMessage, ClusterLinkDescription.LinkState linkState)
linkName
- The link name for the cluster linklinkId
- The Uuid that uniquely identifies this cluster linkremoteClusterId
- linked cluster's ID, or null if not known.localClusterId
- Local cluster id.topics
- The topics that are linked with the cluster link, otherwise if
none, then the topics weren't requested.available
- Can the local cluster talk to the linked cluster or notclusterLinkError
- The reason for why a link is unavailable, if it is in fact unavailable.linkErrorMessage
- Error message describing why a link is unavailable, if it is in fact unavailable.linkState
- State of linkpublic String linkName()
@Deprecated public UUID linkId()
clusterLinkId()
.public Uuid clusterLinkId()
public String clusterId()
remoteClusterId()
public String remoteClusterId()
public String localClusterId()
public boolean available()
public String linkErrorMessage()
public ClusterLinkError clusterLinkError()
public Optional<Collection<String>> topics()
public ClusterLinkDescription.LinkState linkState()