public class ServerFluentImpl<A extends ServerFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ServerFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ServerFluentImpl.PortNestedImpl<N> |
class |
ServerFluentImpl.TlsNestedImpl<N> |
ServerFluent.PortNested<N>, ServerFluent.TlsNested<N>| Constructor and Description |
|---|
ServerFluentImpl() |
ServerFluentImpl(Server instance) |
public ServerFluentImpl()
public ServerFluentImpl(Server instance)
public A addToHosts(int index, String item)
addToHosts in interface ServerFluent<A extends ServerFluent<A>>public A setToHosts(int index, String item)
setToHosts in interface ServerFluent<A extends ServerFluent<A>>public A addToHosts(String... items)
addToHosts in interface ServerFluent<A extends ServerFluent<A>>public A addAllToHosts(Collection<String> items)
addAllToHosts in interface ServerFluent<A extends ServerFluent<A>>public A removeFromHosts(String... items)
removeFromHosts in interface ServerFluent<A extends ServerFluent<A>>public A removeAllFromHosts(Collection<String> items)
removeAllFromHosts in interface ServerFluent<A extends ServerFluent<A>>public List<String> getHosts()
getHosts in interface ServerFluent<A extends ServerFluent<A>>public String getHost(int index)
getHost in interface ServerFluent<A extends ServerFluent<A>>public String getFirstHost()
getFirstHost in interface ServerFluent<A extends ServerFluent<A>>public String getLastHost()
getLastHost in interface ServerFluent<A extends ServerFluent<A>>public String getMatchingHost(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
getMatchingHost in interface ServerFluent<A extends ServerFluent<A>>public A withHosts(List<String> hosts)
withHosts in interface ServerFluent<A extends ServerFluent<A>>public A withHosts(String... hosts)
withHosts in interface ServerFluent<A extends ServerFluent<A>>public Boolean hasHosts()
hasHosts in interface ServerFluent<A extends ServerFluent<A>>@Deprecated public Port getPort()
getPort in interface ServerFluent<A extends ServerFluent<A>>public Port buildPort()
buildPort in interface ServerFluent<A extends ServerFluent<A>>public A withPort(Port port)
withPort in interface ServerFluent<A extends ServerFluent<A>>public Boolean hasPort()
hasPort in interface ServerFluent<A extends ServerFluent<A>>public A withNewPort(String name, Integer number, String protocol)
withNewPort in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.PortNested<A> withNewPort()
withNewPort in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.PortNested<A> withNewPortLike(Port item)
withNewPortLike in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.PortNested<A> editPort()
editPort in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.PortNested<A> editOrNewPort()
editOrNewPort in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.PortNested<A> editOrNewPortLike(Port item)
editOrNewPortLike in interface ServerFluent<A extends ServerFluent<A>>@Deprecated public TLSOptions getTls()
getTls in interface ServerFluent<A extends ServerFluent<A>>public TLSOptions buildTls()
buildTls in interface ServerFluent<A extends ServerFluent<A>>public A withTls(TLSOptions tls)
withTls in interface ServerFluent<A extends ServerFluent<A>>public Boolean hasTls()
hasTls in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.TlsNested<A> withNewTls()
withNewTls in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.TlsNested<A> withNewTlsLike(TLSOptions item)
withNewTlsLike in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.TlsNested<A> editTls()
editTls in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.TlsNested<A> editOrNewTls()
editOrNewTls in interface ServerFluent<A extends ServerFluent<A>>public ServerFluent.TlsNested<A> editOrNewTlsLike(TLSOptions item)
editOrNewTlsLike in interface ServerFluent<A extends ServerFluent<A>>Copyright © 2017–2018 Red Hat. All rights reserved.