public class V1ServiceSpecFluentImpl<A extends V1ServiceSpecFluent<A>> extends BaseFluent<A> implements V1ServiceSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1ServiceSpecFluentImpl.PortsNestedImpl<N> |
class |
V1ServiceSpecFluentImpl.SessionAffinityConfigNestedImpl<N> |
V1ServiceSpecFluent.PortsNested<N>, V1ServiceSpecFluent.SessionAffinityConfigNested<N>
_visitables
Constructor and Description |
---|
V1ServiceSpecFluentImpl() |
V1ServiceSpecFluentImpl(V1ServiceSpec instance) |
public V1ServiceSpecFluentImpl()
public V1ServiceSpecFluentImpl(V1ServiceSpec instance)
public Boolean isAllocateLoadBalancerNodePorts()
isAllocateLoadBalancerNodePorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withAllocateLoadBalancerNodePorts(Boolean allocateLoadBalancerNodePorts)
withAllocateLoadBalancerNodePorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasAllocateLoadBalancerNodePorts()
hasAllocateLoadBalancerNodePorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewAllocateLoadBalancerNodePorts(String arg1)
withNewAllocateLoadBalancerNodePorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewAllocateLoadBalancerNodePorts(boolean arg1)
withNewAllocateLoadBalancerNodePorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getClusterIP()
getClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withClusterIP(String clusterIP)
withClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasClusterIP()
hasClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewClusterIP(String arg1)
withNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewClusterIP(StringBuilder arg1)
withNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewClusterIP(StringBuffer arg1)
withNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToClusterIPs(int index, String item)
addToClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToClusterIPs(int index, String item)
setToClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToClusterIPs(String... items)
addToClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToClusterIPs(Collection<String> items)
addAllToClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromClusterIPs(String... items)
removeFromClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromClusterIPs(Collection<String> items)
removeAllFromClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<String> getClusterIPs()
getClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getClusterIP(int index)
getClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getFirstClusterIP()
getFirstClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLastClusterIP()
getLastClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getMatchingClusterIP(Predicate<String> predicate)
getMatchingClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingClusterIP(Predicate<String> predicate)
hasMatchingClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withClusterIPs(List<String> clusterIPs)
withClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withClusterIPs(String... clusterIPs)
withClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasClusterIPs()
hasClusterIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewClusterIP(String arg1)
addNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewClusterIP(StringBuilder arg1)
addNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewClusterIP(StringBuffer arg1)
addNewClusterIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToExternalIPs(int index, String item)
addToExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToExternalIPs(int index, String item)
setToExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToExternalIPs(String... items)
addToExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToExternalIPs(Collection<String> items)
addAllToExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromExternalIPs(String... items)
removeFromExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromExternalIPs(Collection<String> items)
removeAllFromExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<String> getExternalIPs()
getExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getExternalIP(int index)
getExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getFirstExternalIP()
getFirstExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLastExternalIP()
getLastExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getMatchingExternalIP(Predicate<String> predicate)
getMatchingExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingExternalIP(Predicate<String> predicate)
hasMatchingExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withExternalIPs(List<String> externalIPs)
withExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withExternalIPs(String... externalIPs)
withExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasExternalIPs()
hasExternalIPs
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewExternalIP(String arg1)
addNewExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewExternalIP(StringBuilder arg1)
addNewExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewExternalIP(StringBuffer arg1)
addNewExternalIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getExternalName()
getExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withExternalName(String externalName)
withExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasExternalName()
hasExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalName(String arg1)
withNewExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalName(StringBuilder arg1)
withNewExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalName(StringBuffer arg1)
withNewExternalName
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getExternalTrafficPolicy()
getExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withExternalTrafficPolicy(String externalTrafficPolicy)
withExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasExternalTrafficPolicy()
hasExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalTrafficPolicy(String arg1)
withNewExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalTrafficPolicy(StringBuilder arg1)
withNewExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewExternalTrafficPolicy(StringBuffer arg1)
withNewExternalTrafficPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Integer getHealthCheckNodePort()
getHealthCheckNodePort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withHealthCheckNodePort(Integer healthCheckNodePort)
withHealthCheckNodePort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasHealthCheckNodePort()
hasHealthCheckNodePort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToIpFamilies(int index, String item)
addToIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToIpFamilies(int index, String item)
setToIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToIpFamilies(String... items)
addToIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToIpFamilies(Collection<String> items)
addAllToIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromIpFamilies(String... items)
removeFromIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromIpFamilies(Collection<String> items)
removeAllFromIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<String> getIpFamilies()
getIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getIpFamily(int index)
getIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getFirstIpFamily()
getFirstIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLastIpFamily()
getLastIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getMatchingIpFamily(Predicate<String> predicate)
getMatchingIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingIpFamily(Predicate<String> predicate)
hasMatchingIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withIpFamilies(List<String> ipFamilies)
withIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withIpFamilies(String... ipFamilies)
withIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasIpFamilies()
hasIpFamilies
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewIpFamily(String arg1)
addNewIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewIpFamily(StringBuilder arg1)
addNewIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewIpFamily(StringBuffer arg1)
addNewIpFamily
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getIpFamilyPolicy()
getIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withIpFamilyPolicy(String ipFamilyPolicy)
withIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasIpFamilyPolicy()
hasIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewIpFamilyPolicy(String arg1)
withNewIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewIpFamilyPolicy(StringBuilder arg1)
withNewIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewIpFamilyPolicy(StringBuffer arg1)
withNewIpFamilyPolicy
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLoadBalancerIP()
getLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withLoadBalancerIP(String loadBalancerIP)
withLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasLoadBalancerIP()
hasLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewLoadBalancerIP(String arg1)
withNewLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewLoadBalancerIP(StringBuilder arg1)
withNewLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewLoadBalancerIP(StringBuffer arg1)
withNewLoadBalancerIP
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToLoadBalancerSourceRanges(int index, String item)
addToLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToLoadBalancerSourceRanges(int index, String item)
setToLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToLoadBalancerSourceRanges(String... items)
addToLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToLoadBalancerSourceRanges(Collection<String> items)
addAllToLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromLoadBalancerSourceRanges(String... items)
removeFromLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromLoadBalancerSourceRanges(Collection<String> items)
removeAllFromLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<String> getLoadBalancerSourceRanges()
getLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLoadBalancerSourceRange(int index)
getLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getFirstLoadBalancerSourceRange()
getFirstLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLastLoadBalancerSourceRange()
getLastLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getMatchingLoadBalancerSourceRange(Predicate<String> predicate)
getMatchingLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingLoadBalancerSourceRange(Predicate<String> predicate)
hasMatchingLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
withLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges)
withLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasLoadBalancerSourceRanges()
hasLoadBalancerSourceRanges
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewLoadBalancerSourceRange(String arg1)
addNewLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewLoadBalancerSourceRange(StringBuilder arg1)
addNewLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewLoadBalancerSourceRange(StringBuffer arg1)
addNewLoadBalancerSourceRange
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToPorts(int index, V1ServicePort item)
addToPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToPorts(int index, V1ServicePort item)
setToPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToPorts(V1ServicePort... items)
addToPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToPorts(Collection<V1ServicePort> items)
addAllToPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromPorts(V1ServicePort... items)
removeFromPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromPorts(Collection<V1ServicePort> items)
removeAllFromPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeMatchingFromPorts(Predicate<V1ServicePortBuilder> predicate)
removeMatchingFromPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
@Deprecated public List<V1ServicePort> getPorts()
getPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<V1ServicePort> buildPorts()
buildPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServicePort buildPort(int index)
buildPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServicePort buildFirstPort()
buildFirstPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServicePort buildLastPort()
buildLastPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServicePort buildMatchingPort(Predicate<V1ServicePortBuilder> predicate)
buildMatchingPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingPort(Predicate<V1ServicePortBuilder> predicate)
hasMatchingPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withPorts(List<V1ServicePort> ports)
withPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withPorts(V1ServicePort... ports)
withPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasPorts()
hasPorts
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> addNewPort()
addNewPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> addNewPortLike(V1ServicePort item)
addNewPortLike
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> setNewPortLike(int index, V1ServicePort item)
setNewPortLike
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> editPort(int index)
editPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> editFirstPort()
editFirstPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> editLastPort()
editLastPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.PortsNested<A> editMatchingPort(Predicate<V1ServicePortBuilder> predicate)
editMatchingPort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean isPublishNotReadyAddresses()
isPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withPublishNotReadyAddresses(Boolean publishNotReadyAddresses)
withPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasPublishNotReadyAddresses()
hasPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewPublishNotReadyAddresses(String arg1)
withNewPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewPublishNotReadyAddresses(boolean arg1)
withNewPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToSelector(String key, String value)
addToSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToSelector(Map<String,String> map)
addToSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromSelector(String key)
removeFromSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromSelector(Map<String,String> map)
removeFromSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Map<String,String> getSelector()
getSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withSelector(Map<String,String> selector)
withSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasSelector()
hasSelector
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getSessionAffinity()
getSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withSessionAffinity(String sessionAffinity)
withSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasSessionAffinity()
hasSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewSessionAffinity(String arg1)
withNewSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewSessionAffinity(StringBuilder arg1)
withNewSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewSessionAffinity(StringBuffer arg1)
withNewSessionAffinity
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
@Deprecated public V1SessionAffinityConfig getSessionAffinityConfig()
getSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1SessionAffinityConfig buildSessionAffinityConfig()
buildSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withSessionAffinityConfig(V1SessionAffinityConfig sessionAffinityConfig)
withSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasSessionAffinityConfig()
hasSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfig()
withNewSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfigLike(V1SessionAffinityConfig item)
withNewSessionAffinityConfigLike
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.SessionAffinityConfigNested<A> editSessionAffinityConfig()
editSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfig()
editOrNewSessionAffinityConfig
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public V1ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfigLike(V1SessionAffinityConfig item)
editOrNewSessionAffinityConfigLike
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToTopologyKeys(int index, String item)
addToTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A setToTopologyKeys(int index, String item)
setToTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addToTopologyKeys(String... items)
addToTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addAllToTopologyKeys(Collection<String> items)
addAllToTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeFromTopologyKeys(String... items)
removeFromTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A removeAllFromTopologyKeys(Collection<String> items)
removeAllFromTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public List<String> getTopologyKeys()
getTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getTopologyKey(int index)
getTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getFirstTopologyKey()
getFirstTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getLastTopologyKey()
getLastTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getMatchingTopologyKey(Predicate<String> predicate)
getMatchingTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasMatchingTopologyKey(Predicate<String> predicate)
hasMatchingTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withTopologyKeys(List<String> topologyKeys)
withTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withTopologyKeys(String... topologyKeys)
withTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasTopologyKeys()
hasTopologyKeys
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewTopologyKey(String arg1)
addNewTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewTopologyKey(StringBuilder arg1)
addNewTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A addNewTopologyKey(StringBuffer arg1)
addNewTopologyKey
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public String getType()
getType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withType(String type)
withType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public Boolean hasType()
hasType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewType(String arg1)
withNewType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewType(StringBuilder arg1)
withNewType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewType(StringBuffer arg1)
withNewType
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
Copyright © 2021. All rights reserved.