Package io.fabric8.kubernetes.api.model
Class ServiceSpecFluentImpl<A extends ServiceSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServiceSpecFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,ServiceSpecFluent<A>
- Direct Known Subclasses:
ServiceFluentImpl.SpecNestedImpl
,ServiceSpecBuilder
,WatchEventFluentImpl.ServiceSpecObjectNestedImpl
public class ServiceSpecFluentImpl<A extends ServiceSpecFluent<A>> extends BaseFluent<A> implements ServiceSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ServiceSpecFluentImpl.PortsNestedImpl<N>
class
ServiceSpecFluentImpl.SessionAffinityConfigNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ServiceSpecFluent
ServiceSpecFluent.PortsNested<N>, ServiceSpecFluent.SessionAffinityConfigNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ServiceSpecFluentImpl()
ServiceSpecFluentImpl(ServiceSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceSpecFluentImpl
public ServiceSpecFluentImpl()
-
ServiceSpecFluentImpl
public ServiceSpecFluentImpl(ServiceSpec instance)
-
-
Method Detail
-
isAllocateLoadBalancerNodePorts
public Boolean isAllocateLoadBalancerNodePorts()
- Specified by:
isAllocateLoadBalancerNodePorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withAllocateLoadBalancerNodePorts
public A withAllocateLoadBalancerNodePorts(Boolean allocateLoadBalancerNodePorts)
- Specified by:
withAllocateLoadBalancerNodePorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasAllocateLoadBalancerNodePorts
public Boolean hasAllocateLoadBalancerNodePorts()
- Specified by:
hasAllocateLoadBalancerNodePorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewAllocateLoadBalancerNodePorts
public A withNewAllocateLoadBalancerNodePorts(String arg1)
- Specified by:
withNewAllocateLoadBalancerNodePorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewAllocateLoadBalancerNodePorts
public A withNewAllocateLoadBalancerNodePorts(boolean arg1)
- Specified by:
withNewAllocateLoadBalancerNodePorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getClusterIP
public String getClusterIP()
- Specified by:
getClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withClusterIP
public A withClusterIP(String clusterIP)
- Specified by:
withClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasClusterIP
public Boolean hasClusterIP()
- Specified by:
hasClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewClusterIP
public A withNewClusterIP(String arg1)
- Specified by:
withNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewClusterIP
public A withNewClusterIP(StringBuilder arg1)
- Specified by:
withNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewClusterIP
public A withNewClusterIP(StringBuffer arg1)
- Specified by:
withNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToClusterIPs
public A addToClusterIPs(int index, String item)
- Specified by:
addToClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToClusterIPs
public A setToClusterIPs(int index, String item)
- Specified by:
setToClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToClusterIPs
public A addToClusterIPs(String... items)
- Specified by:
addToClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToClusterIPs
public A addAllToClusterIPs(Collection<String> items)
- Specified by:
addAllToClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromClusterIPs
public A removeFromClusterIPs(String... items)
- Specified by:
removeFromClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromClusterIPs
public A removeAllFromClusterIPs(Collection<String> items)
- Specified by:
removeAllFromClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getClusterIPs
public List<String> getClusterIPs()
- Specified by:
getClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getClusterIP
public String getClusterIP(int index)
- Specified by:
getClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getFirstClusterIP
public String getFirstClusterIP()
- Specified by:
getFirstClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLastClusterIP
public String getLastClusterIP()
- Specified by:
getLastClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getMatchingClusterIP
public String getMatchingClusterIP(Predicate<String> predicate)
- Specified by:
getMatchingClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingClusterIP
public Boolean hasMatchingClusterIP(Predicate<String> predicate)
- Specified by:
hasMatchingClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withClusterIPs
public A withClusterIPs(List<String> clusterIPs)
- Specified by:
withClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withClusterIPs
public A withClusterIPs(String... clusterIPs)
- Specified by:
withClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasClusterIPs
public Boolean hasClusterIPs()
- Specified by:
hasClusterIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewClusterIP
public A addNewClusterIP(String arg1)
- Specified by:
addNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewClusterIP
public A addNewClusterIP(StringBuilder arg1)
- Specified by:
addNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewClusterIP
public A addNewClusterIP(StringBuffer arg1)
- Specified by:
addNewClusterIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToExternalIPs
public A addToExternalIPs(int index, String item)
- Specified by:
addToExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToExternalIPs
public A setToExternalIPs(int index, String item)
- Specified by:
setToExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToExternalIPs
public A addToExternalIPs(String... items)
- Specified by:
addToExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToExternalIPs
public A addAllToExternalIPs(Collection<String> items)
- Specified by:
addAllToExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromExternalIPs
public A removeFromExternalIPs(String... items)
- Specified by:
removeFromExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromExternalIPs
public A removeAllFromExternalIPs(Collection<String> items)
- Specified by:
removeAllFromExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getExternalIPs
public List<String> getExternalIPs()
- Specified by:
getExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getExternalIP
public String getExternalIP(int index)
- Specified by:
getExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getFirstExternalIP
public String getFirstExternalIP()
- Specified by:
getFirstExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLastExternalIP
public String getLastExternalIP()
- Specified by:
getLastExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getMatchingExternalIP
public String getMatchingExternalIP(Predicate<String> predicate)
- Specified by:
getMatchingExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingExternalIP
public Boolean hasMatchingExternalIP(Predicate<String> predicate)
- Specified by:
hasMatchingExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withExternalIPs
public A withExternalIPs(List<String> externalIPs)
- Specified by:
withExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withExternalIPs
public A withExternalIPs(String... externalIPs)
- Specified by:
withExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasExternalIPs
public Boolean hasExternalIPs()
- Specified by:
hasExternalIPs
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewExternalIP
public A addNewExternalIP(String arg1)
- Specified by:
addNewExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewExternalIP
public A addNewExternalIP(StringBuilder arg1)
- Specified by:
addNewExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewExternalIP
public A addNewExternalIP(StringBuffer arg1)
- Specified by:
addNewExternalIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getExternalName
public String getExternalName()
- Specified by:
getExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withExternalName
public A withExternalName(String externalName)
- Specified by:
withExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasExternalName
public Boolean hasExternalName()
- Specified by:
hasExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalName
public A withNewExternalName(String arg1)
- Specified by:
withNewExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalName
public A withNewExternalName(StringBuilder arg1)
- Specified by:
withNewExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalName
public A withNewExternalName(StringBuffer arg1)
- Specified by:
withNewExternalName
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getExternalTrafficPolicy
public String getExternalTrafficPolicy()
- Specified by:
getExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withExternalTrafficPolicy
public A withExternalTrafficPolicy(String externalTrafficPolicy)
- Specified by:
withExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasExternalTrafficPolicy
public Boolean hasExternalTrafficPolicy()
- Specified by:
hasExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalTrafficPolicy
public A withNewExternalTrafficPolicy(String arg1)
- Specified by:
withNewExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalTrafficPolicy
public A withNewExternalTrafficPolicy(StringBuilder arg1)
- Specified by:
withNewExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewExternalTrafficPolicy
public A withNewExternalTrafficPolicy(StringBuffer arg1)
- Specified by:
withNewExternalTrafficPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getHealthCheckNodePort
public Integer getHealthCheckNodePort()
- Specified by:
getHealthCheckNodePort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withHealthCheckNodePort
public A withHealthCheckNodePort(Integer healthCheckNodePort)
- Specified by:
withHealthCheckNodePort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasHealthCheckNodePort
public Boolean hasHealthCheckNodePort()
- Specified by:
hasHealthCheckNodePort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToIpFamilies
public A addToIpFamilies(int index, String item)
- Specified by:
addToIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToIpFamilies
public A setToIpFamilies(int index, String item)
- Specified by:
setToIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToIpFamilies
public A addToIpFamilies(String... items)
- Specified by:
addToIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToIpFamilies
public A addAllToIpFamilies(Collection<String> items)
- Specified by:
addAllToIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromIpFamilies
public A removeFromIpFamilies(String... items)
- Specified by:
removeFromIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromIpFamilies
public A removeAllFromIpFamilies(Collection<String> items)
- Specified by:
removeAllFromIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getIpFamilies
public List<String> getIpFamilies()
- Specified by:
getIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getIpFamily
public String getIpFamily(int index)
- Specified by:
getIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getFirstIpFamily
public String getFirstIpFamily()
- Specified by:
getFirstIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLastIpFamily
public String getLastIpFamily()
- Specified by:
getLastIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getMatchingIpFamily
public String getMatchingIpFamily(Predicate<String> predicate)
- Specified by:
getMatchingIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingIpFamily
public Boolean hasMatchingIpFamily(Predicate<String> predicate)
- Specified by:
hasMatchingIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withIpFamilies
public A withIpFamilies(List<String> ipFamilies)
- Specified by:
withIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withIpFamilies
public A withIpFamilies(String... ipFamilies)
- Specified by:
withIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasIpFamilies
public Boolean hasIpFamilies()
- Specified by:
hasIpFamilies
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewIpFamily
public A addNewIpFamily(String arg1)
- Specified by:
addNewIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewIpFamily
public A addNewIpFamily(StringBuilder arg1)
- Specified by:
addNewIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewIpFamily
public A addNewIpFamily(StringBuffer arg1)
- Specified by:
addNewIpFamily
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getIpFamilyPolicy
public String getIpFamilyPolicy()
- Specified by:
getIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withIpFamilyPolicy
public A withIpFamilyPolicy(String ipFamilyPolicy)
- Specified by:
withIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasIpFamilyPolicy
public Boolean hasIpFamilyPolicy()
- Specified by:
hasIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewIpFamilyPolicy
public A withNewIpFamilyPolicy(String arg1)
- Specified by:
withNewIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewIpFamilyPolicy
public A withNewIpFamilyPolicy(StringBuilder arg1)
- Specified by:
withNewIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewIpFamilyPolicy
public A withNewIpFamilyPolicy(StringBuffer arg1)
- Specified by:
withNewIpFamilyPolicy
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLoadBalancerIP
public String getLoadBalancerIP()
- Specified by:
getLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withLoadBalancerIP
public A withLoadBalancerIP(String loadBalancerIP)
- Specified by:
withLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasLoadBalancerIP
public Boolean hasLoadBalancerIP()
- Specified by:
hasLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewLoadBalancerIP
public A withNewLoadBalancerIP(String arg1)
- Specified by:
withNewLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewLoadBalancerIP
public A withNewLoadBalancerIP(StringBuilder arg1)
- Specified by:
withNewLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewLoadBalancerIP
public A withNewLoadBalancerIP(StringBuffer arg1)
- Specified by:
withNewLoadBalancerIP
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToLoadBalancerSourceRanges
public A addToLoadBalancerSourceRanges(int index, String item)
- Specified by:
addToLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToLoadBalancerSourceRanges
public A setToLoadBalancerSourceRanges(int index, String item)
- Specified by:
setToLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToLoadBalancerSourceRanges
public A addToLoadBalancerSourceRanges(String... items)
- Specified by:
addToLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToLoadBalancerSourceRanges
public A addAllToLoadBalancerSourceRanges(Collection<String> items)
- Specified by:
addAllToLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromLoadBalancerSourceRanges
public A removeFromLoadBalancerSourceRanges(String... items)
- Specified by:
removeFromLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromLoadBalancerSourceRanges
public A removeAllFromLoadBalancerSourceRanges(Collection<String> items)
- Specified by:
removeAllFromLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLoadBalancerSourceRanges
public List<String> getLoadBalancerSourceRanges()
- Specified by:
getLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLoadBalancerSourceRange
public String getLoadBalancerSourceRange(int index)
- Specified by:
getLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getFirstLoadBalancerSourceRange
public String getFirstLoadBalancerSourceRange()
- Specified by:
getFirstLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLastLoadBalancerSourceRange
public String getLastLoadBalancerSourceRange()
- Specified by:
getLastLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getMatchingLoadBalancerSourceRange
public String getMatchingLoadBalancerSourceRange(Predicate<String> predicate)
- Specified by:
getMatchingLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingLoadBalancerSourceRange
public Boolean hasMatchingLoadBalancerSourceRange(Predicate<String> predicate)
- Specified by:
hasMatchingLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withLoadBalancerSourceRanges
public A withLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
- Specified by:
withLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withLoadBalancerSourceRanges
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges)
- Specified by:
withLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasLoadBalancerSourceRanges
public Boolean hasLoadBalancerSourceRanges()
- Specified by:
hasLoadBalancerSourceRanges
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewLoadBalancerSourceRange
public A addNewLoadBalancerSourceRange(String arg1)
- Specified by:
addNewLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewLoadBalancerSourceRange
public A addNewLoadBalancerSourceRange(StringBuilder arg1)
- Specified by:
addNewLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewLoadBalancerSourceRange
public A addNewLoadBalancerSourceRange(StringBuffer arg1)
- Specified by:
addNewLoadBalancerSourceRange
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToPorts
public A addToPorts(int index, ServicePort item)
- Specified by:
addToPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToPorts
public A setToPorts(int index, ServicePort item)
- Specified by:
setToPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToPorts
public A addToPorts(ServicePort... items)
- Specified by:
addToPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToPorts
public A addAllToPorts(Collection<ServicePort> items)
- Specified by:
addAllToPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromPorts
public A removeFromPorts(ServicePort... items)
- Specified by:
removeFromPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromPorts
public A removeAllFromPorts(Collection<ServicePort> items)
- Specified by:
removeAllFromPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeMatchingFromPorts
public A removeMatchingFromPorts(Predicate<ServicePortBuilder> predicate)
- Specified by:
removeMatchingFromPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getPorts
@Deprecated public List<ServicePort> getPorts()
Deprecated.This method has been deprecated, please use method buildPorts instead.- Specified by:
getPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
- Returns:
- The buildable object.
-
buildPorts
public List<ServicePort> buildPorts()
- Specified by:
buildPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
buildPort
public ServicePort buildPort(int index)
- Specified by:
buildPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
buildFirstPort
public ServicePort buildFirstPort()
- Specified by:
buildFirstPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
buildLastPort
public ServicePort buildLastPort()
- Specified by:
buildLastPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
buildMatchingPort
public ServicePort buildMatchingPort(Predicate<ServicePortBuilder> predicate)
- Specified by:
buildMatchingPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingPort
public Boolean hasMatchingPort(Predicate<ServicePortBuilder> predicate)
- Specified by:
hasMatchingPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withPorts
public A withPorts(List<ServicePort> ports)
- Specified by:
withPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withPorts
public A withPorts(ServicePort... ports)
- Specified by:
withPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasPorts
public Boolean hasPorts()
- Specified by:
hasPorts
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewPort
public ServiceSpecFluent.PortsNested<A> addNewPort()
- Specified by:
addNewPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewPortLike
public ServiceSpecFluent.PortsNested<A> addNewPortLike(ServicePort item)
- Specified by:
addNewPortLike
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setNewPortLike
public ServiceSpecFluent.PortsNested<A> setNewPortLike(int index, ServicePort item)
- Specified by:
setNewPortLike
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editPort
public ServiceSpecFluent.PortsNested<A> editPort(int index)
- Specified by:
editPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editFirstPort
public ServiceSpecFluent.PortsNested<A> editFirstPort()
- Specified by:
editFirstPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editLastPort
public ServiceSpecFluent.PortsNested<A> editLastPort()
- Specified by:
editLastPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editMatchingPort
public ServiceSpecFluent.PortsNested<A> editMatchingPort(Predicate<ServicePortBuilder> predicate)
- Specified by:
editMatchingPort
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
isPublishNotReadyAddresses
public Boolean isPublishNotReadyAddresses()
- Specified by:
isPublishNotReadyAddresses
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withPublishNotReadyAddresses
public A withPublishNotReadyAddresses(Boolean publishNotReadyAddresses)
- Specified by:
withPublishNotReadyAddresses
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasPublishNotReadyAddresses
public Boolean hasPublishNotReadyAddresses()
- Specified by:
hasPublishNotReadyAddresses
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewPublishNotReadyAddresses
public A withNewPublishNotReadyAddresses(String arg1)
- Specified by:
withNewPublishNotReadyAddresses
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewPublishNotReadyAddresses
public A withNewPublishNotReadyAddresses(boolean arg1)
- Specified by:
withNewPublishNotReadyAddresses
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToSelector
public A addToSelector(String key, String value)
- Specified by:
addToSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToSelector
public A addToSelector(Map<String,String> map)
- Specified by:
addToSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromSelector
public A removeFromSelector(String key)
- Specified by:
removeFromSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromSelector
public A removeFromSelector(Map<String,String> map)
- Specified by:
removeFromSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getSelector
public Map<String,String> getSelector()
- Specified by:
getSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withSelector
public A withSelector(Map<String,String> selector)
- Specified by:
withSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasSelector
public Boolean hasSelector()
- Specified by:
hasSelector
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getSessionAffinity
public String getSessionAffinity()
- Specified by:
getSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withSessionAffinity
public A withSessionAffinity(String sessionAffinity)
- Specified by:
withSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasSessionAffinity
public Boolean hasSessionAffinity()
- Specified by:
hasSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewSessionAffinity
public A withNewSessionAffinity(String arg1)
- Specified by:
withNewSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewSessionAffinity
public A withNewSessionAffinity(StringBuilder arg1)
- Specified by:
withNewSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewSessionAffinity
public A withNewSessionAffinity(StringBuffer arg1)
- Specified by:
withNewSessionAffinity
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getSessionAffinityConfig
@Deprecated public SessionAffinityConfig getSessionAffinityConfig()
Deprecated.This method has been deprecated, please use method buildSessionAffinityConfig instead.- Specified by:
getSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
- Returns:
- The buildable object.
-
buildSessionAffinityConfig
public SessionAffinityConfig buildSessionAffinityConfig()
- Specified by:
buildSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withSessionAffinityConfig
public A withSessionAffinityConfig(SessionAffinityConfig sessionAffinityConfig)
- Specified by:
withSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasSessionAffinityConfig
public Boolean hasSessionAffinityConfig()
- Specified by:
hasSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfig()
- Specified by:
withNewSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewSessionAffinityConfigLike
public ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfigLike(SessionAffinityConfig item)
- Specified by:
withNewSessionAffinityConfigLike
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> editSessionAffinityConfig()
- Specified by:
editSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editOrNewSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfig()
- Specified by:
editOrNewSessionAffinityConfig
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
editOrNewSessionAffinityConfigLike
public ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfigLike(SessionAffinityConfig item)
- Specified by:
editOrNewSessionAffinityConfigLike
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToTopologyKeys
public A addToTopologyKeys(int index, String item)
- Specified by:
addToTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
setToTopologyKeys
public A setToTopologyKeys(int index, String item)
- Specified by:
setToTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addToTopologyKeys
public A addToTopologyKeys(String... items)
- Specified by:
addToTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addAllToTopologyKeys
public A addAllToTopologyKeys(Collection<String> items)
- Specified by:
addAllToTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeFromTopologyKeys
public A removeFromTopologyKeys(String... items)
- Specified by:
removeFromTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
removeAllFromTopologyKeys
public A removeAllFromTopologyKeys(Collection<String> items)
- Specified by:
removeAllFromTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getTopologyKeys
public List<String> getTopologyKeys()
- Specified by:
getTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getTopologyKey
public String getTopologyKey(int index)
- Specified by:
getTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getFirstTopologyKey
public String getFirstTopologyKey()
- Specified by:
getFirstTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getLastTopologyKey
public String getLastTopologyKey()
- Specified by:
getLastTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getMatchingTopologyKey
public String getMatchingTopologyKey(Predicate<String> predicate)
- Specified by:
getMatchingTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasMatchingTopologyKey
public Boolean hasMatchingTopologyKey(Predicate<String> predicate)
- Specified by:
hasMatchingTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withTopologyKeys
public A withTopologyKeys(List<String> topologyKeys)
- Specified by:
withTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withTopologyKeys
public A withTopologyKeys(String... topologyKeys)
- Specified by:
withTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasTopologyKeys
public Boolean hasTopologyKeys()
- Specified by:
hasTopologyKeys
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewTopologyKey
public A addNewTopologyKey(String arg1)
- Specified by:
addNewTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewTopologyKey
public A addNewTopologyKey(StringBuilder arg1)
- Specified by:
addNewTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
addNewTopologyKey
public A addNewTopologyKey(StringBuffer arg1)
- Specified by:
addNewTopologyKey
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
getType
public String getType()
- Specified by:
getType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withType
public A withType(String type)
- Specified by:
withType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
hasType
public Boolean hasType()
- Specified by:
hasType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewType
public A withNewType(String arg1)
- Specified by:
withNewType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewType
public A withNewType(StringBuilder arg1)
- Specified by:
withNewType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
withNewType
public A withNewType(StringBuffer arg1)
- Specified by:
withNewType
in interfaceServiceSpecFluent<A extends ServiceSpecFluent<A>>
-
-