io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRuleFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.util.function.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface V1NetworkPolicyEgressRuleFluent> extends Fluent{
public A addToPorts(Integer index,V1NetworkPolicyPort item);
public A setToPorts(Integer index,V1NetworkPolicyPort item);
public A addToPorts(io.kubernetes.client.openapi.models.V1NetworkPolicyPort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(io.kubernetes.client.openapi.models.V1NetworkPolicyPort... items);
public A removeAllFromPorts(Collection items);
public A removeMatchingFromPorts(Predicate predicate);
/**
* This method has been deprecated, please use method buildPorts instead.
* @return The buildable object.
*/
@Deprecated
public List getPorts();
public List buildPorts();
public V1NetworkPolicyPort buildPort(Integer index);
public V1NetworkPolicyPort buildFirstPort();
public V1NetworkPolicyPort buildLastPort();
public V1NetworkPolicyPort buildMatchingPort(Predicate predicate);
public Boolean hasMatchingPort(Predicate predicate);
public A withPorts(List ports);
public A withPorts(io.kubernetes.client.openapi.models.V1NetworkPolicyPort... ports);
public Boolean hasPorts();
public V1NetworkPolicyEgressRuleFluent.PortsNested addNewPort();
public V1NetworkPolicyEgressRuleFluent.PortsNested addNewPortLike(V1NetworkPolicyPort item);
public V1NetworkPolicyEgressRuleFluent.PortsNested setNewPortLike(Integer index,V1NetworkPolicyPort item);
public V1NetworkPolicyEgressRuleFluent.PortsNested editPort(Integer index);
public V1NetworkPolicyEgressRuleFluent.PortsNested editFirstPort();
public V1NetworkPolicyEgressRuleFluent.PortsNested editLastPort();
public V1NetworkPolicyEgressRuleFluent.PortsNested editMatchingPort(Predicate predicate);
public A addToTo(Integer index,V1NetworkPolicyPeer item);
public A setToTo(Integer index,V1NetworkPolicyPeer item);
public A addToTo(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... items);
public A addAllToTo(Collection items);
public A removeFromTo(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... items);
public A removeAllFromTo(Collection items);
public A removeMatchingFromTo(Predicate predicate);
/**
* This method has been deprecated, please use method buildTo instead.
* @return The buildable object.
*/
@Deprecated
public List getTo();
public List buildTo();
public V1NetworkPolicyPeer buildTo(Integer index);
public V1NetworkPolicyPeer buildFirstTo();
public V1NetworkPolicyPeer buildLastTo();
public V1NetworkPolicyPeer buildMatchingTo(Predicate predicate);
public Boolean hasMatchingTo(Predicate predicate);
public A withTo(List to);
public A withTo(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... to);
public Boolean hasTo();
public V1NetworkPolicyEgressRuleFluent.ToNested addNewTo();
public V1NetworkPolicyEgressRuleFluent.ToNested addNewToLike(V1NetworkPolicyPeer item);
public V1NetworkPolicyEgressRuleFluent.ToNested setNewToLike(Integer index,V1NetworkPolicyPeer item);
public V1NetworkPolicyEgressRuleFluent.ToNested editTo(Integer index);
public V1NetworkPolicyEgressRuleFluent.ToNested editFirstTo();
public V1NetworkPolicyEgressRuleFluent.ToNested editLastTo();
public V1NetworkPolicyEgressRuleFluent.ToNested editMatchingTo(Predicate predicate);
public interface PortsNested extends Nested,V1NetworkPolicyPortFluent>{
public N and();
public N endPort();
}
public interface ToNested extends Nested,V1NetworkPolicyPeerFluent>{
public N and();
public N endTo();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy