Package io.fabric8.kubernetes.api.model
Class ServiceSpecFluent<A extends ServiceSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServiceSpecFluent<A>
-
- Direct Known Subclasses:
ServiceFluent.SpecNested
,ServiceSpecBuilder
public class ServiceSpecFluent<A extends ServiceSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ServiceSpecFluent.PortsNested<N>
class
ServiceSpecFluent.SessionAffinityConfigNested<N>
-
Constructor Summary
Constructors Constructor Description ServiceSpecFluent()
ServiceSpecFluent(ServiceSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceSpecFluent
public ServiceSpecFluent()
-
ServiceSpecFluent
public ServiceSpecFluent(ServiceSpec instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(ServiceSpec instance)
-
getAllocateLoadBalancerNodePorts
public Boolean getAllocateLoadBalancerNodePorts()
-
withAllocateLoadBalancerNodePorts
public A withAllocateLoadBalancerNodePorts(Boolean allocateLoadBalancerNodePorts)
-
hasAllocateLoadBalancerNodePorts
public boolean hasAllocateLoadBalancerNodePorts()
-
getClusterIP
public String getClusterIP()
-
hasClusterIP
public boolean hasClusterIP()
-
addAllToClusterIPs
public A addAllToClusterIPs(Collection<String> items)
-
removeAllFromClusterIPs
public A removeAllFromClusterIPs(Collection<String> items)
-
getClusterIP
public String getClusterIP(int index)
-
getFirstClusterIP
public String getFirstClusterIP()
-
getLastClusterIP
public String getLastClusterIP()
-
hasClusterIPs
public boolean hasClusterIPs()
-
addAllToExternalIPs
public A addAllToExternalIPs(Collection<String> items)
-
removeAllFromExternalIPs
public A removeAllFromExternalIPs(Collection<String> items)
-
getExternalIP
public String getExternalIP(int index)
-
getFirstExternalIP
public String getFirstExternalIP()
-
getLastExternalIP
public String getLastExternalIP()
-
hasExternalIPs
public boolean hasExternalIPs()
-
getExternalName
public String getExternalName()
-
hasExternalName
public boolean hasExternalName()
-
getExternalTrafficPolicy
public String getExternalTrafficPolicy()
-
hasExternalTrafficPolicy
public boolean hasExternalTrafficPolicy()
-
getHealthCheckNodePort
public Integer getHealthCheckNodePort()
-
hasHealthCheckNodePort
public boolean hasHealthCheckNodePort()
-
getInternalTrafficPolicy
public String getInternalTrafficPolicy()
-
hasInternalTrafficPolicy
public boolean hasInternalTrafficPolicy()
-
addAllToIpFamilies
public A addAllToIpFamilies(Collection<String> items)
-
removeAllFromIpFamilies
public A removeAllFromIpFamilies(Collection<String> items)
-
getIpFamily
public String getIpFamily(int index)
-
getFirstIpFamily
public String getFirstIpFamily()
-
getLastIpFamily
public String getLastIpFamily()
-
hasIpFamilies
public boolean hasIpFamilies()
-
getIpFamilyPolicy
public String getIpFamilyPolicy()
-
hasIpFamilyPolicy
public boolean hasIpFamilyPolicy()
-
getLoadBalancerClass
public String getLoadBalancerClass()
-
hasLoadBalancerClass
public boolean hasLoadBalancerClass()
-
getLoadBalancerIP
public String getLoadBalancerIP()
-
hasLoadBalancerIP
public boolean hasLoadBalancerIP()
-
addAllToLoadBalancerSourceRanges
public A addAllToLoadBalancerSourceRanges(Collection<String> items)
-
removeAllFromLoadBalancerSourceRanges
public A removeAllFromLoadBalancerSourceRanges(Collection<String> items)
-
getLoadBalancerSourceRange
public String getLoadBalancerSourceRange(int index)
-
getFirstLoadBalancerSourceRange
public String getFirstLoadBalancerSourceRange()
-
getLastLoadBalancerSourceRange
public String getLastLoadBalancerSourceRange()
-
getMatchingLoadBalancerSourceRange
public String getMatchingLoadBalancerSourceRange(Predicate<String> predicate)
-
hasMatchingLoadBalancerSourceRange
public boolean hasMatchingLoadBalancerSourceRange(Predicate<String> predicate)
-
withLoadBalancerSourceRanges
public A withLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
-
withLoadBalancerSourceRanges
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges)
-
hasLoadBalancerSourceRanges
public boolean hasLoadBalancerSourceRanges()
-
addToPorts
public A addToPorts(int index, ServicePort item)
-
setToPorts
public A setToPorts(int index, ServicePort item)
-
addToPorts
public A addToPorts(ServicePort... items)
-
addAllToPorts
public A addAllToPorts(Collection<ServicePort> items)
-
removeFromPorts
public A removeFromPorts(ServicePort... items)
-
removeAllFromPorts
public A removeAllFromPorts(Collection<ServicePort> items)
-
removeMatchingFromPorts
public A removeMatchingFromPorts(Predicate<ServicePortBuilder> predicate)
-
buildPorts
public List<ServicePort> buildPorts()
-
buildPort
public ServicePort buildPort(int index)
-
buildFirstPort
public ServicePort buildFirstPort()
-
buildLastPort
public ServicePort buildLastPort()
-
buildMatchingPort
public ServicePort buildMatchingPort(Predicate<ServicePortBuilder> predicate)
-
hasMatchingPort
public boolean hasMatchingPort(Predicate<ServicePortBuilder> predicate)
-
withPorts
public A withPorts(List<ServicePort> ports)
-
withPorts
public A withPorts(ServicePort... ports)
-
hasPorts
public boolean hasPorts()
-
addNewPort
public ServiceSpecFluent.PortsNested<A> addNewPort()
-
addNewPortLike
public ServiceSpecFluent.PortsNested<A> addNewPortLike(ServicePort item)
-
setNewPortLike
public ServiceSpecFluent.PortsNested<A> setNewPortLike(int index, ServicePort item)
-
editPort
public ServiceSpecFluent.PortsNested<A> editPort(int index)
-
editFirstPort
public ServiceSpecFluent.PortsNested<A> editFirstPort()
-
editLastPort
public ServiceSpecFluent.PortsNested<A> editLastPort()
-
editMatchingPort
public ServiceSpecFluent.PortsNested<A> editMatchingPort(Predicate<ServicePortBuilder> predicate)
-
getPublishNotReadyAddresses
public Boolean getPublishNotReadyAddresses()
-
withPublishNotReadyAddresses
public A withPublishNotReadyAddresses(Boolean publishNotReadyAddresses)
-
hasPublishNotReadyAddresses
public boolean hasPublishNotReadyAddresses()
-
hasSelector
public boolean hasSelector()
-
getSessionAffinity
public String getSessionAffinity()
-
hasSessionAffinity
public boolean hasSessionAffinity()
-
buildSessionAffinityConfig
public SessionAffinityConfig buildSessionAffinityConfig()
-
withSessionAffinityConfig
public A withSessionAffinityConfig(SessionAffinityConfig sessionAffinityConfig)
-
hasSessionAffinityConfig
public boolean hasSessionAffinityConfig()
-
withNewSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfig()
-
withNewSessionAffinityConfigLike
public ServiceSpecFluent.SessionAffinityConfigNested<A> withNewSessionAffinityConfigLike(SessionAffinityConfig item)
-
editSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> editSessionAffinityConfig()
-
editOrNewSessionAffinityConfig
public ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfig()
-
editOrNewSessionAffinityConfigLike
public ServiceSpecFluent.SessionAffinityConfigNested<A> editOrNewSessionAffinityConfigLike(SessionAffinityConfig item)
-
getTrafficDistribution
public String getTrafficDistribution()
-
hasTrafficDistribution
public boolean hasTrafficDistribution()
-
getType
public String getType()
-
hasType
public boolean hasType()
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServiceSpecFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends ServiceSpecFluent<A>>
-
withAllocateLoadBalancerNodePorts
public A withAllocateLoadBalancerNodePorts()
-
withPublishNotReadyAddresses
public A withPublishNotReadyAddresses()
-
-