io.kubernetes.client.openapi.models.V1NetworkPolicySpecFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface V1NetworkPolicySpecFluent> extends Fluent{
public A addToEgress(int index,V1NetworkPolicyEgressRule item);
public A setToEgress(int index,V1NetworkPolicyEgressRule item);
public A addToEgress(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule... items);
public A addAllToEgress(Collection items);
public A removeFromEgress(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule... items);
public A removeAllFromEgress(Collection items);
public A removeMatchingFromEgress(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(Predicate predicate);
public Boolean hasMatchingEgress(Predicate predicate);
public A withEgress(List egress);
public A withEgress(io.kubernetes.client.openapi.models.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(Predicate predicate);
public A addToIngress(int index,V1NetworkPolicyIngressRule item);
public A setToIngress(int index,V1NetworkPolicyIngressRule item);
public A addToIngress(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule... items);
public A addAllToIngress(Collection items);
public A removeFromIngress(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule... items);
public A removeAllFromIngress(Collection items);
public A removeMatchingFromIngress(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(Predicate predicate);
public Boolean hasMatchingIngress(Predicate predicate);
public A withIngress(List ingress);
public A withIngress(io.kubernetes.client.openapi.models.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(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(java.lang.String... items);
public A addAllToPolicyTypes(Collection items);
public A removeFromPolicyTypes(java.lang.String... items);
public A removeAllFromPolicyTypes(Collection items);
public List getPolicyTypes();
public String getPolicyType(int index);
public String getFirstPolicyType();
public String getLastPolicyType();
public String getMatchingPolicyType(Predicate predicate);
public Boolean hasMatchingPolicyType(Predicate predicate);
public A withPolicyTypes(List policyTypes);
public A withPolicyTypes(java.lang.String... policyTypes);
public Boolean hasPolicyTypes();
public interface EgressNested extends Nested,V1NetworkPolicyEgressRuleFluent>{
public N and();
public N endEgress();
}
public interface IngressNested extends Nested,V1NetworkPolicyIngressRuleFluent>{
public N and();
public N endIngress();
}
public interface PodSelectorNested extends Nested,V1LabelSelectorFluent>{
public N and();
public N endPodSelector();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy