All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRuleFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
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 V1NetworkPolicyIngressRuleFluent> extends Fluent{
  public A addToFrom(Integer index,V1NetworkPolicyPeer item);
  public A setToFrom(Integer index,V1NetworkPolicyPeer item);
  public A addToFrom(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... items);
  public A addAllToFrom(Collection items);
  public A removeFromFrom(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... items);
  public A removeAllFromFrom(Collection items);
  public A removeMatchingFromFrom(Predicate predicate);
  
  /**
   * This method has been deprecated, please use method buildFrom instead.
   * @return The buildable object.
   */
  @Deprecated
  public List getFrom();
  public List buildFrom();
  public V1NetworkPolicyPeer buildFrom(Integer index);
  public V1NetworkPolicyPeer buildFirstFrom();
  public V1NetworkPolicyPeer buildLastFrom();
  public V1NetworkPolicyPeer buildMatchingFrom(Predicate predicate);
  public Boolean hasMatchingFrom(Predicate predicate);
  public A withFrom(List from);
  public A withFrom(io.kubernetes.client.openapi.models.V1NetworkPolicyPeer... from);
  public Boolean hasFrom();
  public V1NetworkPolicyIngressRuleFluent.FromNested addNewFrom();
  public V1NetworkPolicyIngressRuleFluent.FromNested addNewFromLike(V1NetworkPolicyPeer item);
  public V1NetworkPolicyIngressRuleFluent.FromNested setNewFromLike(Integer index,V1NetworkPolicyPeer item);
  public V1NetworkPolicyIngressRuleFluent.FromNested editFrom(Integer index);
  public V1NetworkPolicyIngressRuleFluent.FromNested editFirstFrom();
  public V1NetworkPolicyIngressRuleFluent.FromNested editLastFrom();
  public V1NetworkPolicyIngressRuleFluent.FromNested editMatchingFrom(Predicate predicate);
  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 V1NetworkPolicyIngressRuleFluent.PortsNested addNewPort();
  public V1NetworkPolicyIngressRuleFluent.PortsNested addNewPortLike(V1NetworkPolicyPort item);
  public V1NetworkPolicyIngressRuleFluent.PortsNested setNewPortLike(Integer index,V1NetworkPolicyPort item);
  public V1NetworkPolicyIngressRuleFluent.PortsNested editPort(Integer index);
  public V1NetworkPolicyIngressRuleFluent.PortsNested editFirstPort();
  public V1NetworkPolicyIngressRuleFluent.PortsNested editLastPort();
  public V1NetworkPolicyIngressRuleFluent.PortsNested editMatchingPort(Predicate predicate);
  public interface FromNested extends Nested,V1NetworkPolicyPeerFluent>{
    public N and();
    public N endFrom();
    
  }
  public interface PortsNested extends Nested,V1NetworkPolicyPortFluent>{
    public N and();
    public N endPort();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy