io.alauda.kubernetes.api.model.extensions.NetworkPolicySpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import io.alauda.kubernetes.api.model.LabelSelectorBuilder;
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 io.alauda.kubernetes.api.model.LabelSelector;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import io.alauda.kubernetes.api.model.LabelSelectorFluent;
import java.lang.Boolean;
import java.util.Map;
public interface NetworkPolicySpecFluent> extends Fluent{
public A addToIngress(int index,NetworkPolicyIngressRule item);
public A setToIngress(int index,NetworkPolicyIngressRule item);
public A addToIngress(NetworkPolicyIngressRule... items);
public A addAllToIngress(Collection items);
public A removeFromIngress(NetworkPolicyIngressRule... items);
public A removeAllFromIngress(Collection items);
/**
* This method has been deprecated, please use method buildIngress instead.
*/
@Deprecated public List getIngress();
public List buildIngress();
public NetworkPolicyIngressRule buildIngress(int index);
public NetworkPolicyIngressRule buildFirstIngress();
public NetworkPolicyIngressRule buildLastIngress();
public NetworkPolicyIngressRule buildMatchingIngress(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withIngress(List ingress);
public A withIngress(NetworkPolicyIngressRule... ingress);
public Boolean hasIngress();
public NetworkPolicySpecFluent.IngressNested addNewIngress();
public NetworkPolicySpecFluent.IngressNested addNewIngressLike(NetworkPolicyIngressRule item);
public NetworkPolicySpecFluent.IngressNested setNewIngressLike(int index,NetworkPolicyIngressRule item);
public NetworkPolicySpecFluent.IngressNested editIngress(int index);
public NetworkPolicySpecFluent.IngressNested editFirstIngress();
public NetworkPolicySpecFluent.IngressNested editLastIngress();
public NetworkPolicySpecFluent.IngressNested editMatchingIngress(io.alauda.kubernetes.api.builder.Predicate predicate);
/**
* This method has been deprecated, please use method buildPodSelector instead.
*/
@Deprecated public LabelSelector getPodSelector();
public LabelSelector buildPodSelector();
public A withPodSelector(LabelSelector podSelector);
public Boolean hasPodSelector();
public NetworkPolicySpecFluent.PodSelectorNested withNewPodSelector();
public NetworkPolicySpecFluent.PodSelectorNested withNewPodSelectorLike(LabelSelector item);
public NetworkPolicySpecFluent.PodSelectorNested editPodSelector();
public NetworkPolicySpecFluent.PodSelectorNested editOrNewPodSelector();
public NetworkPolicySpecFluent.PodSelectorNested editOrNewPodSelectorLike(LabelSelector item);
public interface IngressNested extends io.alauda.kubernetes.api.builder.Nested,NetworkPolicyIngressRuleFluent>{
public N and(); public N endIngress();
}
public interface PodSelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endPodSelector();
}
}