io.kubernetes.client.openapi.models.V1ServiceSpecFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import io.kubernetes.client.fluent.Predicate;
import java.util.LinkedHashMap;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.List;
import java.lang.Boolean;
import io.kubernetes.client.fluent.Fluent;
import java.lang.Integer;
import java.lang.StringBuffer;
import java.util.Collection;
import java.util.Map;
public interface V1ServiceSpecFluent> extends Fluent {
public Boolean isAllocateLoadBalancerNodePorts();
public A withAllocateLoadBalancerNodePorts(Boolean allocateLoadBalancerNodePorts);
public Boolean hasAllocateLoadBalancerNodePorts();
public A withNewAllocateLoadBalancerNodePorts(String arg1);
public A withNewAllocateLoadBalancerNodePorts(boolean arg1);
public String getClusterIP();
public A withClusterIP(String clusterIP);
public Boolean hasClusterIP();
public A withNewClusterIP(String arg1);
public A withNewClusterIP(StringBuilder arg1);
public A withNewClusterIP(StringBuffer arg1);
public A addToClusterIPs(int index,String item);
public A setToClusterIPs(int index,String item);
public A addToClusterIPs(String... items);
public A addAllToClusterIPs(Collection items);
public A removeFromClusterIPs(String... items);
public A removeAllFromClusterIPs(Collection items);
public List getClusterIPs();
public String getClusterIP(int index);
public String getFirstClusterIP();
public String getLastClusterIP();
public String getMatchingClusterIP(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingClusterIP(io.kubernetes.client.fluent.Predicate predicate);
public A withClusterIPs(List clusterIPs);
public A withClusterIPs(String... clusterIPs);
public Boolean hasClusterIPs();
public A addNewClusterIP(String arg1);
public A addNewClusterIP(StringBuilder arg1);
public A addNewClusterIP(StringBuffer arg1);
public A addToExternalIPs(int index,String item);
public A setToExternalIPs(int index,String item);
public A addToExternalIPs(String... items);
public A addAllToExternalIPs(Collection items);
public A removeFromExternalIPs(String... items);
public A removeAllFromExternalIPs(Collection items);
public List getExternalIPs();
public String getExternalIP(int index);
public String getFirstExternalIP();
public String getLastExternalIP();
public String getMatchingExternalIP(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingExternalIP(io.kubernetes.client.fluent.Predicate predicate);
public A withExternalIPs(List externalIPs);
public A withExternalIPs(String... externalIPs);
public Boolean hasExternalIPs();
public A addNewExternalIP(String arg1);
public A addNewExternalIP(StringBuilder arg1);
public A addNewExternalIP(StringBuffer arg1);
public String getExternalName();
public A withExternalName(String externalName);
public Boolean hasExternalName();
public A withNewExternalName(String arg1);
public A withNewExternalName(StringBuilder arg1);
public A withNewExternalName(StringBuffer arg1);
public String getExternalTrafficPolicy();
public A withExternalTrafficPolicy(String externalTrafficPolicy);
public Boolean hasExternalTrafficPolicy();
public A withNewExternalTrafficPolicy(String arg1);
public A withNewExternalTrafficPolicy(StringBuilder arg1);
public A withNewExternalTrafficPolicy(StringBuffer arg1);
public Integer getHealthCheckNodePort();
public A withHealthCheckNodePort(Integer healthCheckNodePort);
public Boolean hasHealthCheckNodePort();
public A addToIpFamilies(int index,String item);
public A setToIpFamilies(int index,String item);
public A addToIpFamilies(String... items);
public A addAllToIpFamilies(Collection items);
public A removeFromIpFamilies(String... items);
public A removeAllFromIpFamilies(Collection items);
public List getIpFamilies();
public String getIpFamily(int index);
public String getFirstIpFamily();
public String getLastIpFamily();
public String getMatchingIpFamily(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingIpFamily(io.kubernetes.client.fluent.Predicate predicate);
public A withIpFamilies(List ipFamilies);
public A withIpFamilies(String... ipFamilies);
public Boolean hasIpFamilies();
public A addNewIpFamily(String arg1);
public A addNewIpFamily(StringBuilder arg1);
public A addNewIpFamily(StringBuffer arg1);
public String getIpFamilyPolicy();
public A withIpFamilyPolicy(String ipFamilyPolicy);
public Boolean hasIpFamilyPolicy();
public A withNewIpFamilyPolicy(String arg1);
public A withNewIpFamilyPolicy(StringBuilder arg1);
public A withNewIpFamilyPolicy(StringBuffer arg1);
public String getLoadBalancerIP();
public A withLoadBalancerIP(String loadBalancerIP);
public Boolean hasLoadBalancerIP();
public A withNewLoadBalancerIP(String arg1);
public A withNewLoadBalancerIP(StringBuilder arg1);
public A withNewLoadBalancerIP(StringBuffer arg1);
public A addToLoadBalancerSourceRanges(int index,String item);
public A setToLoadBalancerSourceRanges(int index,String item);
public A addToLoadBalancerSourceRanges(String... items);
public A addAllToLoadBalancerSourceRanges(Collection items);
public A removeFromLoadBalancerSourceRanges(String... items);
public A removeAllFromLoadBalancerSourceRanges(Collection items);
public List getLoadBalancerSourceRanges();
public String getLoadBalancerSourceRange(int index);
public String getFirstLoadBalancerSourceRange();
public String getLastLoadBalancerSourceRange();
public String getMatchingLoadBalancerSourceRange(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingLoadBalancerSourceRange(io.kubernetes.client.fluent.Predicate predicate);
public A withLoadBalancerSourceRanges(List loadBalancerSourceRanges);
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges);
public Boolean hasLoadBalancerSourceRanges();
public A addNewLoadBalancerSourceRange(String arg1);
public A addNewLoadBalancerSourceRange(StringBuilder arg1);
public A addNewLoadBalancerSourceRange(StringBuffer arg1);
public A addToPorts(int index,V1ServicePort item);
public A setToPorts(int index,V1ServicePort item);
public A addToPorts(V1ServicePort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(V1ServicePort... items);
public A removeAllFromPorts(Collection items);
public A removeMatchingFromPorts(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildPorts instead.
* @return The buildable object.
*/
@Deprecated public List getPorts();
public List buildPorts();
public V1ServicePort buildPort(int index);
public V1ServicePort buildFirstPort();
public V1ServicePort buildLastPort();
public V1ServicePort buildMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public A withPorts(List ports);
public A withPorts(V1ServicePort... ports);
public Boolean hasPorts();
public V1ServiceSpecFluent.PortsNested addNewPort();
public V1ServiceSpecFluent.PortsNested addNewPortLike(V1ServicePort item);
public V1ServiceSpecFluent.PortsNested setNewPortLike(int index,V1ServicePort item);
public V1ServiceSpecFluent.PortsNested editPort(int index);
public V1ServiceSpecFluent.PortsNested editFirstPort();
public V1ServiceSpecFluent.PortsNested editLastPort();
public V1ServiceSpecFluent.PortsNested editMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public Boolean isPublishNotReadyAddresses();
public A withPublishNotReadyAddresses(Boolean publishNotReadyAddresses);
public Boolean hasPublishNotReadyAddresses();
public A withNewPublishNotReadyAddresses(String arg1);
public A withNewPublishNotReadyAddresses(boolean arg1);
public A addToSelector(String key,String value);
public A addToSelector(Map map);
public A removeFromSelector(String key);
public A removeFromSelector(Map map);
public Map getSelector();
public A withSelector(Map selector);
public Boolean hasSelector();
public String getSessionAffinity();
public A withSessionAffinity(String sessionAffinity);
public Boolean hasSessionAffinity();
public A withNewSessionAffinity(String arg1);
public A withNewSessionAffinity(StringBuilder arg1);
public A withNewSessionAffinity(StringBuffer arg1);
/**
* This method has been deprecated, please use method buildSessionAffinityConfig instead.
* @return The buildable object.
*/
@Deprecated public V1SessionAffinityConfig getSessionAffinityConfig();
public V1SessionAffinityConfig buildSessionAffinityConfig();
public A withSessionAffinityConfig(V1SessionAffinityConfig sessionAffinityConfig);
public Boolean hasSessionAffinityConfig();
public V1ServiceSpecFluent.SessionAffinityConfigNested withNewSessionAffinityConfig();
public V1ServiceSpecFluent.SessionAffinityConfigNested withNewSessionAffinityConfigLike(V1SessionAffinityConfig item);
public V1ServiceSpecFluent.SessionAffinityConfigNested editSessionAffinityConfig();
public V1ServiceSpecFluent.SessionAffinityConfigNested editOrNewSessionAffinityConfig();
public V1ServiceSpecFluent.SessionAffinityConfigNested editOrNewSessionAffinityConfigLike(V1SessionAffinityConfig item);
public A addToTopologyKeys(int index,String item);
public A setToTopologyKeys(int index,String item);
public A addToTopologyKeys(String... items);
public A addAllToTopologyKeys(Collection items);
public A removeFromTopologyKeys(String... items);
public A removeAllFromTopologyKeys(Collection items);
public List getTopologyKeys();
public String getTopologyKey(int index);
public String getFirstTopologyKey();
public String getLastTopologyKey();
public String getMatchingTopologyKey(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingTopologyKey(io.kubernetes.client.fluent.Predicate predicate);
public A withTopologyKeys(List topologyKeys);
public A withTopologyKeys(String... topologyKeys);
public Boolean hasTopologyKeys();
public A addNewTopologyKey(String arg1);
public A addNewTopologyKey(StringBuilder arg1);
public A addNewTopologyKey(StringBuffer arg1);
public String getType();
public A withType(String type);
public Boolean hasType();
public A withNewType(String arg1);
public A withNewType(StringBuilder arg1);
public A withNewType(StringBuffer arg1);
public interface PortsNested extends io.kubernetes.client.fluent.Nested,V1ServicePortFluent> {
public N and();
public N endPort(); }
public interface SessionAffinityConfigNested extends io.kubernetes.client.fluent.Nested,V1SessionAffinityConfigFluent> {
public N and();
public N endSessionAffinityConfig(); }
}