public class DestinationWeight extends Object implements Serializable
| Constructor and Description |
|---|
DestinationWeight()
No args constructor for use in serialization
|
DestinationWeight(IstioService destination,
Map<String,String> labels,
Integer weight) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
IstioService |
getDestination() |
Map<String,String> |
getLabels() |
Integer |
getWeight() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setDestination(IstioService destination) |
void |
setLabels(Map<String,String> labels) |
void |
setWeight(Integer weight) |
public DestinationWeight()
public DestinationWeight(IstioService destination, Map<String,String> labels, Integer weight)
destination - weight - labels - public IstioService getDestination()
public void setDestination(IstioService destination)
public Integer getWeight()
public void setWeight(Integer weight)
Copyright © 2017–2018 Red Hat. All rights reserved.