io.kubernetes.client.openapi.models.V1NetworkPolicySpecFluent 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.lang.Deprecated;
import java.util.Iterator;
import java.util.List;
import java.lang.Boolean;
import io.kubernetes.client.fluent.Fluent;
import java.lang.StringBuffer;
import java.util.Collection;
public interface V1NetworkPolicySpecFluent> extends Fluent {
public A addToEgress(int index,V1NetworkPolicyEgressRule item);
public A setToEgress(int index,V1NetworkPolicyEgressRule item);
public A addToEgress(V1NetworkPolicyEgressRule... items);
public A addAllToEgress(Collection items);
public A removeFromEgress(V1NetworkPolicyEgressRule... items);
public A removeAllFromEgress(Collection items);
public A removeMatchingFromEgress(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildEgress instead.
* @return The buildable object.
*/
@Deprecated public List getEgress();
public List buildEgress();
public V1NetworkPolicyEgressRule buildEgress(int index);
public V1NetworkPolicyEgressRule buildFirstEgress();
public V1NetworkPolicyEgressRule buildLastEgress();
public V1NetworkPolicyEgressRule buildMatchingEgress(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingEgress(io.kubernetes.client.fluent.Predicate predicate);
public A withEgress(List egress);
public A withEgress(V1NetworkPolicyEgressRule... egress);
public Boolean hasEgress();
public V1NetworkPolicySpecFluent.EgressNested addNewEgress();
public V1NetworkPolicySpecFluent.EgressNested addNewEgressLike(V1NetworkPolicyEgressRule item);
public V1NetworkPolicySpecFluent.EgressNested setNewEgressLike(int index,V1NetworkPolicyEgressRule item);
public V1NetworkPolicySpecFluent.EgressNested editEgress(int index);
public V1NetworkPolicySpecFluent.EgressNested editFirstEgress();
public V1NetworkPolicySpecFluent.EgressNested editLastEgress();
public V1NetworkPolicySpecFluent.EgressNested editMatchingEgress(io.kubernetes.client.fluent.Predicate predicate);
public A addToIngress(int index,V1NetworkPolicyIngressRule item);
public A setToIngress(int index,V1NetworkPolicyIngressRule item);
public A addToIngress(V1NetworkPolicyIngressRule... items);
public A addAllToIngress(Collection items);
public A removeFromIngress(V1NetworkPolicyIngressRule... items);
public A removeAllFromIngress(Collection items);
public A removeMatchingFromIngress(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildIngress instead.
* @return The buildable object.
*/
@Deprecated public List getIngress();
public List buildIngress();
public V1NetworkPolicyIngressRule buildIngress(int index);
public V1NetworkPolicyIngressRule buildFirstIngress();
public V1NetworkPolicyIngressRule buildLastIngress();
public V1NetworkPolicyIngressRule buildMatchingIngress(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingIngress(io.kubernetes.client.fluent.Predicate predicate);
public A withIngress(List ingress);
public A withIngress(V1NetworkPolicyIngressRule... ingress);
public Boolean hasIngress();
public V1NetworkPolicySpecFluent.IngressNested addNewIngress();
public V1NetworkPolicySpecFluent.IngressNested addNewIngressLike(V1NetworkPolicyIngressRule item);
public V1NetworkPolicySpecFluent.IngressNested setNewIngressLike(int index,V1NetworkPolicyIngressRule item);
public V1NetworkPolicySpecFluent.IngressNested editIngress(int index);
public V1NetworkPolicySpecFluent.IngressNested editFirstIngress();
public V1NetworkPolicySpecFluent.IngressNested editLastIngress();
public V1NetworkPolicySpecFluent.IngressNested editMatchingIngress(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildPodSelector instead.
* @return The buildable object.
*/
@Deprecated public V1LabelSelector getPodSelector();
public V1LabelSelector buildPodSelector();
public A withPodSelector(V1LabelSelector podSelector);
public Boolean hasPodSelector();
public V1NetworkPolicySpecFluent.PodSelectorNested withNewPodSelector();
public V1NetworkPolicySpecFluent.PodSelectorNested withNewPodSelectorLike(V1LabelSelector item);
public V1NetworkPolicySpecFluent.PodSelectorNested editPodSelector();
public V1NetworkPolicySpecFluent.PodSelectorNested editOrNewPodSelector();
public V1NetworkPolicySpecFluent.PodSelectorNested editOrNewPodSelectorLike(V1LabelSelector item);
public A addToPolicyTypes(int index,String item);
public A setToPolicyTypes(int index,String item);
public A addToPolicyTypes(String... items);
public A addAllToPolicyTypes(Collection items);
public A removeFromPolicyTypes(String... items);
public A removeAllFromPolicyTypes(Collection items);
public List getPolicyTypes();
public String getPolicyType(int index);
public String getFirstPolicyType();
public String getLastPolicyType();
public String getMatchingPolicyType(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingPolicyType(io.kubernetes.client.fluent.Predicate predicate);
public A withPolicyTypes(List policyTypes);
public A withPolicyTypes(String... policyTypes);
public Boolean hasPolicyTypes();
public A addNewPolicyType(String arg1);
public A addNewPolicyType(StringBuilder arg1);
public A addNewPolicyType(StringBuffer arg1);
public interface EgressNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyEgressRuleFluent> {
public N and();
public N endEgress(); }
public interface IngressNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyIngressRuleFluent> {
public N and();
public N endIngress(); }
public interface PodSelectorNested extends io.kubernetes.client.fluent.Nested,V1LabelSelectorFluent> {
public N and();
public N endPodSelector(); }
}