diff options
Diffstat (limited to 'vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java')
-rw-r--r-- | vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java index f3b8c189fc5..95bd9cf1cb5 100644 --- a/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java +++ b/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java @@ -2,8 +2,14 @@ package com.yahoo.vespaclient; public class ClusterDef { - private final String name; - public ClusterDef(String name) { this.name = name; } + public ClusterDef(String name, String configId) { + this.name = name; + this.configId = configId; + } + + String name; + String configId; + public String getName() { return name; } - public String getRoute() { return name + "-direct"; } + public String getConfigId() { return configId; } } |