public class ServiceEntrySpecFluentImpl<A extends ServiceEntrySpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ServiceEntrySpecFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceEntrySpecFluentImpl.EndpointsNestedImpl<N> |
class |
ServiceEntrySpecFluentImpl.PortsNestedImpl<N> |
ServiceEntrySpecFluent.EndpointsNested<N>, ServiceEntrySpecFluent.PortsNested<N>| Constructor and Description |
|---|
ServiceEntrySpecFluentImpl() |
ServiceEntrySpecFluentImpl(ServiceEntrySpec instance) |
public ServiceEntrySpecFluentImpl()
public ServiceEntrySpecFluentImpl(ServiceEntrySpec instance)
public A addToAddresses(int index, String item)
addToAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToAddresses(int index, String item)
setToAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToAddresses(String... items)
addToAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToAddresses(Collection<String> items)
addAllToAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromAddresses(String... items)
removeFromAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromAddresses(Collection<String> items)
removeAllFromAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<String> getAddresses()
getAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getAddress(int index)
getAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getFirstAddress()
getFirstAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getLastAddress()
getLastAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getMatchingAddress(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
getMatchingAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withAddresses(List<String> addresses)
withAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withAddresses(String... addresses)
withAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasAddresses()
hasAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToEndpoints(int index, Endpoint item)
addToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToEndpoints(int index, Endpoint item)
setToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToEndpoints(Endpoint... items)
addToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToEndpoints(Collection<Endpoint> items)
addAllToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromEndpoints(Endpoint... items)
removeFromEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromEndpoints(Collection<Endpoint> items)
removeAllFromEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>@Deprecated public List<Endpoint> getEndpoints()
getEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<Endpoint> buildEndpoints()
buildEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Endpoint buildEndpoint(int index)
buildEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Endpoint buildFirstEndpoint()
buildFirstEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Endpoint buildLastEndpoint()
buildLastEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Endpoint buildMatchingEndpoint(io.fabric8.kubernetes.api.builder.Predicate<EndpointBuilder> predicate)
buildMatchingEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withEndpoints(List<Endpoint> endpoints)
withEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withEndpoints(Endpoint... endpoints)
withEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasEndpoints()
hasEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> addNewEndpoint()
addNewEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> addNewEndpointLike(Endpoint item)
addNewEndpointLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> setNewEndpointLike(int index, Endpoint item)
setNewEndpointLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> editEndpoint(int index)
editEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> editFirstEndpoint()
editFirstEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> editLastEndpoint()
editLastEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> editMatchingEndpoint(io.fabric8.kubernetes.api.builder.Predicate<EndpointBuilder> predicate)
editMatchingEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToHosts(int index, String item)
addToHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToHosts(int index, String item)
setToHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToHosts(String... items)
addToHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToHosts(Collection<String> items)
addAllToHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromHosts(String... items)
removeFromHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromHosts(Collection<String> items)
removeAllFromHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<String> getHosts()
getHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getHost(int index)
getHost in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getFirstHost()
getFirstHost in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getLastHost()
getLastHost in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getMatchingHost(io.fabric8.kubernetes.api.builder.Predicate<String> predicate)
getMatchingHost in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withHosts(List<String> hosts)
withHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withHosts(String... hosts)
withHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasHosts()
hasHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntryLocation getLocation()
getLocation in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withLocation(ServiceEntryLocation location)
withLocation in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasLocation()
hasLocation in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToPorts(int index, Port item)
addToPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToPorts(int index, Port item)
setToPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToPorts(Port... items)
addToPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToPorts(Collection<Port> items)
addAllToPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromPorts(Port... items)
removeFromPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromPorts(Collection<Port> items)
removeAllFromPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>@Deprecated public List<Port> getPorts()
getPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<Port> buildPorts()
buildPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Port buildPort(int index)
buildPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Port buildFirstPort()
buildFirstPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Port buildLastPort()
buildLastPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Port buildMatchingPort(io.fabric8.kubernetes.api.builder.Predicate<PortBuilder> predicate)
buildMatchingPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withPorts(List<Port> ports)
withPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withPorts(Port... ports)
withPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasPorts()
hasPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addNewPort(String name, Integer number, String protocol)
addNewPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> addNewPort()
addNewPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> addNewPortLike(Port item)
addNewPortLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> setNewPortLike(int index, Port item)
setNewPortLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> editPort(int index)
editPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> editFirstPort()
editFirstPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> editLastPort()
editLastPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> editMatchingPort(io.fabric8.kubernetes.api.builder.Predicate<PortBuilder> predicate)
editMatchingPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntryResolution getResolution()
getResolution in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withResolution(ServiceEntryResolution resolution)
withResolution in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasResolution()
hasResolution in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>Copyright © 2017–2018 Red Hat. All rights reserved.