io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRuleFluent 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 io.kubernetes.client.fluent.Predicate;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
public interface V1NetworkPolicyIngressRuleFluent> extends Fluent {
public A addToFrom(int index,V1NetworkPolicyPeer item);
public A setToFrom(int index,V1NetworkPolicyPeer item);
public A addToFrom(V1NetworkPolicyPeer... items);
public A addAllToFrom(Collection items);
public A removeFromFrom(V1NetworkPolicyPeer... items);
public A removeAllFromFrom(Collection items);
public A removeMatchingFromFrom(io.kubernetes.client.fluent.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(int index);
public V1NetworkPolicyPeer buildFirstFrom();
public V1NetworkPolicyPeer buildLastFrom();
public V1NetworkPolicyPeer buildMatchingFrom(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingFrom(io.kubernetes.client.fluent.Predicate predicate);
public A withFrom(List from);
public A withFrom(V1NetworkPolicyPeer... from);
public Boolean hasFrom();
public V1NetworkPolicyIngressRuleFluent.FromNested addNewFrom();
public V1NetworkPolicyIngressRuleFluent.FromNested addNewFromLike(V1NetworkPolicyPeer item);
public V1NetworkPolicyIngressRuleFluent.FromNested setNewFromLike(int index,V1NetworkPolicyPeer item);
public V1NetworkPolicyIngressRuleFluent.FromNested editFrom(int index);
public V1NetworkPolicyIngressRuleFluent.FromNested editFirstFrom();
public V1NetworkPolicyIngressRuleFluent.FromNested editLastFrom();
public V1NetworkPolicyIngressRuleFluent.FromNested editMatchingFrom(io.kubernetes.client.fluent.Predicate predicate);
public A addToPorts(int index,V1NetworkPolicyPort item);
public A setToPorts(int index,V1NetworkPolicyPort item);
public A addToPorts(V1NetworkPolicyPort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(V1NetworkPolicyPort... items);
public A removeAllFromPorts(Collection items);
public A removeMatchingFromPorts(io.kubernetes.client.fluent.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(int index);
public V1NetworkPolicyPort buildFirstPort();
public V1NetworkPolicyPort buildLastPort();
public V1NetworkPolicyPort buildMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public A withPorts(List ports);
public A withPorts(V1NetworkPolicyPort... ports);
public Boolean hasPorts();
public V1NetworkPolicyIngressRuleFluent.PortsNested addNewPort();
public V1NetworkPolicyIngressRuleFluent.PortsNested addNewPortLike(V1NetworkPolicyPort item);
public V1NetworkPolicyIngressRuleFluent.PortsNested setNewPortLike(int index,V1NetworkPolicyPort item);
public V1NetworkPolicyIngressRuleFluent.PortsNested editPort(int index);
public V1NetworkPolicyIngressRuleFluent.PortsNested editFirstPort();
public V1NetworkPolicyIngressRuleFluent.PortsNested editLastPort();
public V1NetworkPolicyIngressRuleFluent.PortsNested editMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public interface FromNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyPeerFluent> {
public N and();
public N endFrom(); }
public interface PortsNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyPortFluent> {
public N and();
public N endPort(); }
}