Package io.fabric8.openshift.api.model
Class RouteIngress
- java.lang.Object
-
- io.fabric8.openshift.api.model.RouteIngress
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteIngressBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteIngress extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteIngressBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteIngress holds information about the places where a route is exposed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteIngress()No args constructor for use in serializationRouteIngress(List<RouteIngressCondition> conditions, String host, String routerCanonicalHostname, String routerName, String wildcardPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteIngressBuilderedit()Map<String,Object>getAdditionalProperties()List<RouteIngressCondition>getConditions()conditions is the state of the route, may be empty.StringgetHost()host is the host string under which the route is exposed; this value is requiredStringgetRouterCanonicalHostname()CanonicalHostname is the external host name for the router that can be used as a CNAME for the host requested for this route.StringgetRouterName()Name is a name chosen by the router to identify itself; this value is requiredStringgetWildcardPolicy()Wildcard policy is the wildcard policy that was allowed where this route is exposed.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<RouteIngressCondition> conditions)conditions is the state of the route, may be empty.voidsetHost(String host)host is the host string under which the route is exposed; this value is requiredvoidsetRouterCanonicalHostname(String routerCanonicalHostname)CanonicalHostname is the external host name for the router that can be used as a CNAME for the host requested for this route.voidsetRouterName(String routerName)Name is a name chosen by the router to identify itself; this value is requiredvoidsetWildcardPolicy(String wildcardPolicy)Wildcard policy is the wildcard policy that was allowed where this route is exposed.RouteIngressBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<RouteIngressCondition> getConditions()
conditions is the state of the route, may be empty.
-
setConditions
public void setConditions(List<RouteIngressCondition> conditions)
conditions is the state of the route, may be empty.
-
getHost
public String getHost()
host is the host string under which the route is exposed; this value is required
-
setHost
public void setHost(String host)
host is the host string under which the route is exposed; this value is required
-
getRouterCanonicalHostname
public String getRouterCanonicalHostname()
CanonicalHostname is the external host name for the router that can be used as a CNAME for the host requested for this route. This value is optional and may not be set in all cases.
-
setRouterCanonicalHostname
public void setRouterCanonicalHostname(String routerCanonicalHostname)
CanonicalHostname is the external host name for the router that can be used as a CNAME for the host requested for this route. This value is optional and may not be set in all cases.
-
getRouterName
public String getRouterName()
Name is a name chosen by the router to identify itself; this value is required
-
setRouterName
public void setRouterName(String routerName)
Name is a name chosen by the router to identify itself; this value is required
-
getWildcardPolicy
public String getWildcardPolicy()
Wildcard policy is the wildcard policy that was allowed where this route is exposed.
-
setWildcardPolicy
public void setWildcardPolicy(String wildcardPolicy)
Wildcard policy is the wildcard policy that was allowed where this route is exposed.
-
edit
public RouteIngressBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RouteIngressBuilder>
-
toBuilder
public RouteIngressBuilder toBuilder()
-
-