public class ServiceSpecFluentImpl<T extends ServiceSpecFluent<T>> extends BaseFluent<T> implements ServiceSpecFluent<T>
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<T extends ServiceSpecFluent<T>>
public T withClusterIP(String clusterIP)
withClusterIP
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToDeprecatedPublicIPs(String... items)
addToDeprecatedPublicIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromDeprecatedPublicIPs(String... items)
removeFromDeprecatedPublicIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public List<String> getDeprecatedPublicIPs()
getDeprecatedPublicIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withDeprecatedPublicIPs(List<String> deprecatedPublicIPs)
withDeprecatedPublicIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withDeprecatedPublicIPs(String... deprecatedPublicIPs)
withDeprecatedPublicIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToExternalIPs(String... items)
addToExternalIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromExternalIPs(String... items)
removeFromExternalIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public List<String> getExternalIPs()
getExternalIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withExternalIPs(List<String> externalIPs)
withExternalIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withExternalIPs(String... externalIPs)
withExternalIPs
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public String getLoadBalancerIP()
getLoadBalancerIP
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withLoadBalancerIP(String loadBalancerIP)
withLoadBalancerIP
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public String getPortalIP()
getPortalIP
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withPortalIP(String portalIP)
withPortalIP
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToPorts(ServicePort... items)
addToPorts
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromPorts(ServicePort... items)
removeFromPorts
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public List<ServicePort> getPorts()
getPorts
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withPorts(List<ServicePort> ports)
withPorts
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withPorts(ServicePort... ports)
withPorts
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public ServiceSpecFluent.PortsNested<T> addNewPort()
addNewPort
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public ServiceSpecFluent.PortsNested<T> addNewPortLike(ServicePort item)
addNewPortLike
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToSelector(String key, String value)
addToSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToSelector(Map<String,String> map)
addToSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromSelector(String key)
removeFromSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromSelector(Map<String,String> map)
removeFromSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public Map<String,String> getSelector()
getSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withSelector(Map<String,String> selector)
withSelector
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public String getSessionAffinity()
getSessionAffinity
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withSessionAffinity(String sessionAffinity)
withSessionAffinity
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public String getType()
getType
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withType(String type)
withType
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ServiceSpecFluent<T extends ServiceSpecFluent<T>>
Copyright © 2011–2016 Red Hat. All rights reserved.