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 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 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 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 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 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 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 withNewHealthCheckNodePort(int arg1)
withNewHealthCheckNodePort
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewHealthCheckNodePort(String arg1)
withNewHealthCheckNodePort
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 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 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 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>>
@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 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(boolean arg1)
withNewPublishNotReadyAddresses
in interface V1ServiceSpecFluent<A extends V1ServiceSpecFluent<A>>
public A withNewPublishNotReadyAddresses(String 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>>
@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 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>>
Copyright © 2019. All rights reserved.