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> |
class |
ServiceEntrySpecFluentImpl.WorkloadSelectorNestedImpl<N> |
ServiceEntrySpecFluent.EndpointsNested<N>, ServiceEntrySpecFluent.PortsNested<N>, ServiceEntrySpecFluent.WorkloadSelectorNested<N>| Constructor and Description |
|---|
ServiceEntrySpecFluentImpl() |
ServiceEntrySpecFluentImpl(ServiceEntrySpec instance) |
public ServiceEntrySpecFluentImpl()
public ServiceEntrySpecFluentImpl(ServiceEntrySpec instance)
public A addToAddresses(Integer index, String item)
addToAddresses in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToAddresses(Integer 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(Integer 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(Predicate<String> predicate)
getMatchingAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingAddress(Predicate<String> predicate)
hasMatchingAddress 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 addNewAddress(String arg0)
addNewAddress in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToEndpoints(Integer index, WorkloadEntrySpec item)
addToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToEndpoints(Integer index, WorkloadEntrySpec item)
setToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToEndpoints(WorkloadEntrySpec... items)
addToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToEndpoints(Collection<WorkloadEntrySpec> items)
addAllToEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromEndpoints(WorkloadEntrySpec... items)
removeFromEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromEndpoints(Collection<WorkloadEntrySpec> items)
removeAllFromEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeMatchingFromEndpoints(Predicate<WorkloadEntrySpecBuilder> predicate)
removeMatchingFromEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>@Deprecated public List<WorkloadEntrySpec> getEndpoints()
getEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<WorkloadEntrySpec> buildEndpoints()
buildEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public WorkloadEntrySpec buildEndpoint(Integer index)
buildEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public WorkloadEntrySpec buildFirstEndpoint()
buildFirstEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public WorkloadEntrySpec buildLastEndpoint()
buildLastEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public WorkloadEntrySpec buildMatchingEndpoint(Predicate<WorkloadEntrySpecBuilder> predicate)
buildMatchingEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingEndpoint(Predicate<WorkloadEntrySpecBuilder> predicate)
hasMatchingEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withEndpoints(List<WorkloadEntrySpec> endpoints)
withEndpoints in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withEndpoints(WorkloadEntrySpec... 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(WorkloadEntrySpec item)
addNewEndpointLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> setNewEndpointLike(Integer index, WorkloadEntrySpec item)
setNewEndpointLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.EndpointsNested<A> editEndpoint(Integer 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(Predicate<WorkloadEntrySpecBuilder> predicate)
editMatchingEndpoint in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToExportTo(Integer index, String item)
addToExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToExportTo(Integer index, String item)
setToExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToExportTo(String... items)
addToExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToExportTo(Collection<String> items)
addAllToExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromExportTo(String... items)
removeFromExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromExportTo(Collection<String> items)
removeAllFromExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<String> getExportTo()
getExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getExportTo(Integer index)
getExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getFirstExportTo()
getFirstExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getLastExportTo()
getLastExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getMatchingExportTo(Predicate<String> predicate)
getMatchingExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingExportTo(Predicate<String> predicate)
hasMatchingExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withExportTo(List<String> exportTo)
withExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withExportTo(String... exportTo)
withExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasExportTo()
hasExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addNewExportTo(String arg0)
addNewExportTo in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToHosts(Integer index, String item)
addToHosts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToHosts(Integer 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(Integer 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(Predicate<String> predicate)
getMatchingHost in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingHost(Predicate<String> predicate)
hasMatchingHost 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 A addNewHost(String arg0)
addNewHost 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(Integer index, Port item)
addToPorts in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToPorts(Integer 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>>public A removeMatchingFromPorts(Predicate<PortBuilder> predicate)
removeMatchingFromPorts 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(Integer 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(Predicate<PortBuilder> predicate)
buildMatchingPort in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingPort(Predicate<PortBuilder> predicate)
hasMatchingPort 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, Integer targetPort)
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(Integer index, Port item)
setNewPortLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.PortsNested<A> editPort(Integer 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(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>>public A addToSubjectAltNames(Integer index, String item)
addToSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A setToSubjectAltNames(Integer index, String item)
setToSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addToSubjectAltNames(String... items)
addToSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addAllToSubjectAltNames(Collection<String> items)
addAllToSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeFromSubjectAltNames(String... items)
removeFromSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A removeAllFromSubjectAltNames(Collection<String> items)
removeAllFromSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public List<String> getSubjectAltNames()
getSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getSubjectAltName(Integer index)
getSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getFirstSubjectAltName()
getFirstSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getLastSubjectAltName()
getLastSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public String getMatchingSubjectAltName(Predicate<String> predicate)
getMatchingSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasMatchingSubjectAltName(Predicate<String> predicate)
hasMatchingSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withSubjectAltNames(List<String> subjectAltNames)
withSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withSubjectAltNames(String... subjectAltNames)
withSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasSubjectAltNames()
hasSubjectAltNames in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A addNewSubjectAltName(String arg0)
addNewSubjectAltName in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>@Deprecated public WorkloadSelector getWorkloadSelector()
getWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public WorkloadSelector buildWorkloadSelector()
buildWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public A withWorkloadSelector(WorkloadSelector workloadSelector)
withWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public Boolean hasWorkloadSelector()
hasWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.WorkloadSelectorNested<A> withNewWorkloadSelector()
withNewWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.WorkloadSelectorNested<A> withNewWorkloadSelectorLike(WorkloadSelector item)
withNewWorkloadSelectorLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.WorkloadSelectorNested<A> editWorkloadSelector()
editWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.WorkloadSelectorNested<A> editOrNewWorkloadSelector()
editOrNewWorkloadSelector in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>public ServiceEntrySpecFluent.WorkloadSelectorNested<A> editOrNewWorkloadSelectorLike(WorkloadSelector item)
editOrNewWorkloadSelectorLike in interface ServiceEntrySpecFluent<A extends ServiceEntrySpecFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.