@Generated(value="org.jsonschema2pojo") public class ServiceSpec extends Object implements KubernetesResource
Constructor and Description |
---|
ServiceSpec()
No args constructor for use in serialization
|
ServiceSpec(String clusterIP,
List<String> externalIPs,
String externalName,
String externalTrafficPolicy,
Integer healthCheckNodePort,
String ipFamily,
String loadBalancerIP,
List<String> loadBalancerSourceRanges,
List<ServicePort> ports,
Boolean publishNotReadyAddresses,
Map<String,String> selector,
String sessionAffinity,
SessionAffinityConfig sessionAffinityConfig,
String type) |
public ServiceSpec()
public ServiceSpec(String clusterIP, List<String> externalIPs, String externalName, String externalTrafficPolicy, Integer healthCheckNodePort, String ipFamily, String loadBalancerIP, List<String> loadBalancerSourceRanges, List<ServicePort> ports, Boolean publishNotReadyAddresses, Map<String,String> selector, String sessionAffinity, SessionAffinityConfig sessionAffinityConfig, String type)
healthCheckNodePort
- externalIPs
- sessionAffinity
- ports
- type
- sessionAffinityConfig
- loadBalancerIP
- externalName
- ipFamily
- loadBalancerSourceRanges
- externalTrafficPolicy
- selector
- publishNotReadyAddresses
- clusterIP
- public String getClusterIP()
public void setClusterIP(String clusterIP)
clusterIP
- The clusterIPpublic void setExternalIPs(List<String> externalIPs)
externalIPs
- The externalIPspublic String getExternalName()
public void setExternalName(String externalName)
externalName
- The externalNamepublic String getExternalTrafficPolicy()
public void setExternalTrafficPolicy(String externalTrafficPolicy)
externalTrafficPolicy
- The externalTrafficPolicypublic Integer getHealthCheckNodePort()
public void setHealthCheckNodePort(Integer healthCheckNodePort)
healthCheckNodePort
- The healthCheckNodePortpublic String getIpFamily()
public void setIpFamily(String ipFamily)
ipFamily
- The ipFamilypublic String getLoadBalancerIP()
public void setLoadBalancerIP(String loadBalancerIP)
loadBalancerIP
- The loadBalancerIPpublic List<String> getLoadBalancerSourceRanges()
public void setLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
loadBalancerSourceRanges
- The loadBalancerSourceRangespublic List<ServicePort> getPorts()
public void setPorts(List<ServicePort> ports)
ports
- The portspublic Boolean getPublishNotReadyAddresses()
public void setPublishNotReadyAddresses(Boolean publishNotReadyAddresses)
publishNotReadyAddresses
- The publishNotReadyAddressespublic void setSelector(Map<String,String> selector)
selector
- The selectorpublic String getSessionAffinity()
public void setSessionAffinity(String sessionAffinity)
sessionAffinity
- The sessionAffinitypublic SessionAffinityConfig getSessionAffinityConfig()
public void setSessionAffinityConfig(SessionAffinityConfig sessionAffinityConfig)
sessionAffinityConfig
- The sessionAffinityConfigpublic String getType()
public void setType(String type)
type
- The typeCopyright © 2015–2020 Red Hat. All rights reserved.