public class NewClusterLink extends Object
ConfluentAdmin.createClusterLinks(Collection, CreateClusterLinksOptions).| Constructor and Description |
|---|
NewClusterLink(String linkName, String clusterId, Map<String,String> configs)Creates a new cluster link with the specified configs. |
NewClusterLink(String linkName, String clusterId, Map<String,String> configs, Uuid linkId) |
| Modifier and Type | Method and Description |
|---|---|
String | clusterId()The ID of the cluster link, or null if not provided. |
Map<String,String> | configs()The configuration for the new cluster link. |
boolean | equals(Object o) |
int | hashCode() |
Uuid | linkId()The link id for a source or bi-directional cluster link. |
String | linkName()The name of the cluster link to be created. |
String | toString() |
public NewClusterLink(String linkName, String clusterId, Map<String,String> configs)
linkName - the name assigned to the cluster linkclusterId - the ID of the cluster link, or null if not validatedconfigs - the initial configuration valuespublic String linkName()
public String clusterId()
public Uuid linkId()