public class ServiceSpecFluentImpl<A extends ServiceSpecFluent<A>> extends BaseFluent<A> implements ServiceSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ServiceSpecFluentImpl.PortsNestedImpl<N> |
ServiceSpecFluent.PortsNested<N>
_visitables
Constructor and Description |
---|
ServiceSpecFluentImpl() |
ServiceSpecFluentImpl(ServiceSpec instance) |
public ServiceSpecFluentImpl()
public ServiceSpecFluentImpl(ServiceSpec instance)
public String getClusterIP()
getClusterIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withClusterIP(String clusterIP)
withClusterIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToDeprecatedPublicIPs(String... items)
addToDeprecatedPublicIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromDeprecatedPublicIPs(String... items)
removeFromDeprecatedPublicIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public List<String> getDeprecatedPublicIPs()
getDeprecatedPublicIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withDeprecatedPublicIPs(List<String> deprecatedPublicIPs)
withDeprecatedPublicIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withDeprecatedPublicIPs(String... deprecatedPublicIPs)
withDeprecatedPublicIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToExternalIPs(String... items)
addToExternalIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromExternalIPs(String... items)
removeFromExternalIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public List<String> getExternalIPs()
getExternalIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withExternalIPs(List<String> externalIPs)
withExternalIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withExternalIPs(String... externalIPs)
withExternalIPs
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public String getLoadBalancerIP()
getLoadBalancerIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withLoadBalancerIP(String loadBalancerIP)
withLoadBalancerIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToLoadBalancerSourceRanges(String... items)
addToLoadBalancerSourceRanges
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromLoadBalancerSourceRanges(String... items)
removeFromLoadBalancerSourceRanges
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public List<String> getLoadBalancerSourceRanges()
getLoadBalancerSourceRanges
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
withLoadBalancerSourceRanges
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges)
withLoadBalancerSourceRanges
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public String getPortalIP()
getPortalIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withPortalIP(String portalIP)
withPortalIP
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToPorts(ServicePort... items)
addToPorts
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromPorts(ServicePort... items)
removeFromPorts
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public List<ServicePort> getPorts()
getPorts
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withPorts(List<ServicePort> ports)
withPorts
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withPorts(ServicePort... ports)
withPorts
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public ServiceSpecFluent.PortsNested<A> addNewPort()
addNewPort
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public ServiceSpecFluent.PortsNested<A> addNewPortLike(ServicePort item)
addNewPortLike
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToSelector(String key, String value)
addToSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A addToSelector(Map<String,String> map)
addToSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromSelector(String key)
removeFromSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A removeFromSelector(Map<String,String> map)
removeFromSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public Map<String,String> getSelector()
getSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withSelector(Map<String,String> selector)
withSelector
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public String getSessionAffinity()
getSessionAffinity
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withSessionAffinity(String sessionAffinity)
withSessionAffinity
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public String getType()
getType
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
public A withType(String type)
withType
in interface ServiceSpecFluent<A extends ServiceSpecFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.