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(int index, RouteTargetReference item)
addToAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A setToAlternateBackends(int index, RouteTargetReference item)
setToAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A addToAlternateBackends(RouteTargetReference... items)
addToAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A addAllToAlternateBackends(java.util.Collection<RouteTargetReference> items)
addAllToAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A removeFromAlternateBackends(RouteTargetReference... items)
removeFromAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A removeAllFromAlternateBackends(java.util.Collection<RouteTargetReference> items)
removeAllFromAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
@Deprecated public java.util.List<RouteTargetReference> getAlternateBackends()
getAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.util.List<RouteTargetReference> buildAlternateBackends()
buildAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference buildAlternateBackend(int index)
buildAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference buildFirstAlternateBackend()
buildFirstAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference buildLastAlternateBackend()
buildLastAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference buildMatchingAlternateBackend(Predicate<RouteTargetReferenceBuilder> predicate)
buildMatchingAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasMatchingAlternateBackend(Predicate<RouteTargetReferenceBuilder> predicate)
hasMatchingAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withAlternateBackends(java.util.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 java.lang.Boolean hasAlternateBackends()
hasAlternateBackends
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A addNewAlternateBackend(java.lang.String kind, java.lang.String name, java.lang.Integer weight)
addNewAlternateBackend
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 RouteSpecFluent.AlternateBackendsNested<A> setNewAlternateBackendLike(int index, RouteTargetReference item)
setNewAlternateBackendLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> editAlternateBackend(int index)
editAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> editFirstAlternateBackend()
editFirstAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> editLastAlternateBackend()
editLastAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.AlternateBackendsNested<A> editMatchingAlternateBackend(Predicate<RouteTargetReferenceBuilder> predicate)
editMatchingAlternateBackend
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.String getHost()
getHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withHost(java.lang.String host)
withHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasHost()
hasHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewHost(java.lang.String arg1)
withNewHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewHost(java.lang.StringBuilder arg1)
withNewHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewHost(java.lang.StringBuffer arg1)
withNewHost
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.String getPath()
getPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withPath(java.lang.String path)
withPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasPath()
hasPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewPath(java.lang.String arg1)
withNewPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewPath(java.lang.StringBuilder arg1)
withNewPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewPath(java.lang.StringBuffer arg1)
withNewPath
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
@Deprecated public RoutePort getPort()
getPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RoutePort buildPort()
buildPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withPort(RoutePort port)
withPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasPort()
hasPort
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 RouteSpecFluent.PortNested<A> editOrNewPort()
editOrNewPort
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.PortNested<A> editOrNewPortLike(RoutePort item)
editOrNewPortLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
@Deprecated public TLSConfig getTls()
getTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public TLSConfig buildTls()
buildTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withTls(TLSConfig tls)
withTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasTls()
hasTls
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 RouteSpecFluent.TlsNested<A> editOrNewTls()
editOrNewTls
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.TlsNested<A> editOrNewTlsLike(TLSConfig item)
editOrNewTlsLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
@Deprecated public RouteTargetReference getTo()
getTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteTargetReference buildTo()
buildTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withTo(RouteTargetReference to)
withTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasTo()
hasTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewTo(java.lang.String kind, java.lang.String name, java.lang.Integer weight)
withNewTo
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 RouteSpecFluent.ToNested<A> editOrNewTo()
editOrNewTo
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public RouteSpecFluent.ToNested<A> editOrNewToLike(RouteTargetReference item)
editOrNewToLike
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.String getWildcardPolicy()
getWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withWildcardPolicy(java.lang.String wildcardPolicy)
withWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public java.lang.Boolean hasWildcardPolicy()
hasWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewWildcardPolicy(java.lang.String arg1)
withNewWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewWildcardPolicy(java.lang.StringBuilder arg1)
withNewWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public A withNewWildcardPolicy(java.lang.StringBuffer arg1)
withNewWildcardPolicy
in interface RouteSpecFluent<A extends RouteSpecFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.