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

io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRuleFluent 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 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 V1NetworkPolicyEgressRuleFluent> extends Fluent {


    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 V1NetworkPolicyEgressRuleFluent.PortsNested addNewPort();
    public V1NetworkPolicyEgressRuleFluent.PortsNested addNewPortLike(V1NetworkPolicyPort item);
    public V1NetworkPolicyEgressRuleFluent.PortsNested setNewPortLike(int index,V1NetworkPolicyPort item);
    public V1NetworkPolicyEgressRuleFluent.PortsNested editPort(int index);
    public V1NetworkPolicyEgressRuleFluent.PortsNested editFirstPort();
    public V1NetworkPolicyEgressRuleFluent.PortsNested editLastPort();
    public V1NetworkPolicyEgressRuleFluent.PortsNested editMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
    public A addToTo(int index,V1NetworkPolicyPeer item);
    public A setToTo(int index,V1NetworkPolicyPeer item);
    public A addToTo(V1NetworkPolicyPeer... items);
    public A addAllToTo(Collection items);
    public A removeFromTo(V1NetworkPolicyPeer... items);
    public A removeAllFromTo(Collection items);
    public A removeMatchingFromTo(io.kubernetes.client.fluent.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(int index);
    public V1NetworkPolicyPeer buildFirstTo();
    public V1NetworkPolicyPeer buildLastTo();
    public V1NetworkPolicyPeer buildMatchingTo(io.kubernetes.client.fluent.Predicate predicate);
    public Boolean hasMatchingTo(io.kubernetes.client.fluent.Predicate predicate);
    public A withTo(List to);
    public A withTo(V1NetworkPolicyPeer... to);
    public Boolean hasTo();
    public V1NetworkPolicyEgressRuleFluent.ToNested addNewTo();
    public V1NetworkPolicyEgressRuleFluent.ToNested addNewToLike(V1NetworkPolicyPeer item);
    public V1NetworkPolicyEgressRuleFluent.ToNested setNewToLike(int index,V1NetworkPolicyPeer item);
    public V1NetworkPolicyEgressRuleFluent.ToNested editTo(int index);
    public V1NetworkPolicyEgressRuleFluent.ToNested editFirstTo();
    public V1NetworkPolicyEgressRuleFluent.ToNested editLastTo();
    public V1NetworkPolicyEgressRuleFluent.ToNested editMatchingTo(io.kubernetes.client.fluent.Predicate predicate);
    public interface PortsNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyPortFluent> {

        public N and();
        public N endPort();    }


    public interface ToNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicyPeerFluent> {

        public N and();
        public N endTo();    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy