@Generated(value="org.jsonschema2pojo") public class RouteSpec extends Object
Constructor and Description |
---|
RouteSpec()
No args constructor for use in serialization
|
RouteSpec(String host,
String path,
TLSConfig tls,
ObjectReference to) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getHost()
optional: alias/dns that points to the service
|
String |
getPath()
optional: path that the router watches to route traffic to the service
|
TLSConfig |
getTls() |
ObjectReference |
getTo() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setHost(String host)
optional: alias/dns that points to the service
|
void |
setPath(String path)
optional: path that the router watches to route traffic to the service
|
void |
setTls(TLSConfig tls) |
void |
setTo(ObjectReference to) |
public RouteSpec()
public RouteSpec(String host, String path, TLSConfig tls, ObjectReference to)
to
- host
- tls
- path
- public String getHost()
public void setHost(String host)
host
- The hostpublic String getPath()
public void setPath(String path)
path
- The pathpublic TLSConfig getTls()
public void setTls(TLSConfig tls)
tls
- The tlspublic ObjectReference getTo()
public void setTo(ObjectReference to)
to
- The toCopyright © 2011–2015 Red Hat. All rights reserved.