@Validated public class WeightConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PREFIX
Configuration prefix for
WeightConfig . |
Constructor and Description |
---|
WeightConfig(String routeId) |
WeightConfig(String group,
String routeId,
int weight) |
Modifier and Type | Method and Description |
---|---|
String |
getGroup() |
String |
getRouteId() |
int |
getWeight() |
WeightConfig |
setGroup(String group) |
WeightConfig |
setRouteId(String routeId) |
WeightConfig |
setWeight(int weight) |
String |
toString() |
public static final String CONFIG_PREFIX
WeightConfig
.public WeightConfig(String routeId)
public String getGroup()
public WeightConfig setGroup(String group)
public String getRouteId()
public WeightConfig setRouteId(String routeId)
public int getWeight()
public WeightConfig setWeight(int weight)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.