io.alauda.kubernetes.api.model.ServiceSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import java.lang.Boolean;
import java.util.Map;
public interface ServiceSpecFluent> extends Fluent{
public String getClusterIP();
public A withClusterIP(String clusterIP);
public Boolean hasClusterIP();
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.alauda.kubernetes.api.builder.Predicate predicate);
public A withExternalIPs(List externalIPs);
public A withExternalIPs(String... externalIPs);
public Boolean hasExternalIPs();
public String getExternalName();
public A withExternalName(String externalName);
public Boolean hasExternalName();
public String getExternalTrafficPolicy();
public A withExternalTrafficPolicy(String externalTrafficPolicy);
public Boolean hasExternalTrafficPolicy();
public Integer getHealthCheckNodePort();
public A withHealthCheckNodePort(Integer healthCheckNodePort);
public Boolean hasHealthCheckNodePort();
public String getLoadBalancerIP();
public A withLoadBalancerIP(String loadBalancerIP);
public Boolean hasLoadBalancerIP();
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.alauda.kubernetes.api.builder.Predicate predicate);
public A withLoadBalancerSourceRanges(List loadBalancerSourceRanges);
public A withLoadBalancerSourceRanges(String... loadBalancerSourceRanges);
public Boolean hasLoadBalancerSourceRanges();
public A addToPorts(int index,ServicePort item);
public A setToPorts(int index,ServicePort item);
public A addToPorts(ServicePort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(ServicePort... items);
public A removeAllFromPorts(Collection items);
/**
* This method has been deprecated, please use method buildPorts instead.
*/
@Deprecated public List getPorts();
public List buildPorts();
public ServicePort buildPort(int index);
public ServicePort buildFirstPort();
public ServicePort buildLastPort();
public ServicePort buildMatchingPort(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withPorts(List ports);
public A withPorts(ServicePort... ports);
public Boolean hasPorts();
public ServiceSpecFluent.PortsNested addNewPort();
public ServiceSpecFluent.PortsNested addNewPortLike(ServicePort item);
public ServiceSpecFluent.PortsNested setNewPortLike(int index,ServicePort item);
public ServiceSpecFluent.PortsNested editPort(int index);
public ServiceSpecFluent.PortsNested editFirstPort();
public ServiceSpecFluent.PortsNested editLastPort();
public ServiceSpecFluent.PortsNested editMatchingPort(io.alauda.kubernetes.api.builder.Predicate predicate);
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 String getType();
public A withType(String type);
public Boolean hasType();
public interface PortsNested extends io.alauda.kubernetes.api.builder.Nested,ServicePortFluent>{
public N and(); public N endPort();
}
}