public class RouteSpecFluentImpl<A extends RouteSpecFluent<A>> extends BaseFluent<A> implements RouteSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
RouteSpecFluentImpl.AlternateBackendsNestedImpl<N> |
class |
RouteSpecFluentImpl.PortNestedImpl<N> |
class |
RouteSpecFluentImpl.TlsNestedImpl<N> |
class |
RouteSpecFluentImpl.ToNestedImpl<N> |
RouteSpecFluent.AlternateBackendsNested<N>, RouteSpecFluent.PortNested<N>, RouteSpecFluent.TlsNested<N>, RouteSpecFluent.ToNested<N>
_visitables
Constructor and Description |
---|
RouteSpecFluentImpl() |
RouteSpecFluentImpl(RouteSpec instance) |
public RouteSpecFluentImpl()
public RouteSpecFluentImpl(RouteSpec instance)
public A addToAlternateBackends(RouteTargetReference... items)
addToAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A removeFromAlternateBackends(RouteTargetReference... items)
removeFromAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public List<RouteTargetReference> getAlternateBackends()
getAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withAlternateBackends(List<RouteTargetReference> alternateBackends)
withAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withAlternateBackends(RouteTargetReference... alternateBackends)
withAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> addNewAlternateBackend()
addNewAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> addNewAlternateBackendLike(RouteTargetReference item)
addNewAlternateBackendLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A addNewAlternateBackend(String kind, String name, Integer weight)
addNewAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public String getHost()
getHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withHost(String host)
withHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public String getPath()
getPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withPath(String path)
withPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RoutePort getPort()
getPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withPort(RoutePort port)
withPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.PortNested<A> withNewPort()
withNewPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.PortNested<A> withNewPortLike(RoutePort item)
withNewPortLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.PortNested<A> editPort()
editPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public TLSConfig getTls()
getTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withTls(TLSConfig tls)
withTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.TlsNested<A> withNewTls()
withNewTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.TlsNested<A> withNewTlsLike(TLSConfig item)
withNewTlsLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.TlsNested<A> editTls()
editTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference getTo()
getTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withTo(RouteTargetReference to)
withTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.ToNested<A> withNewTo()
withNewTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.ToNested<A> withNewToLike(RouteTargetReference item)
withNewToLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.ToNested<A> editTo()
editTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewTo(String kind, String name, Integer weight)
withNewTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.