aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-core/src/main/java/com/yahoo/vespaclient/ClusterDef.java
blob: f3b8c189fc5ebad69467d44b88a59c44f75661b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespaclient;

public class ClusterDef {
    private final String name;
    public ClusterDef(String name) { this.name = name; }
    public String getName() { return name; }
    public String getRoute() { return name + "-direct"; }
}