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

io.kubernetes.client.models.V1beta1NetworkPolicyEgressRuleFluent Maven / Gradle / Ivy

package io.kubernetes.client.models;

import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import io.kubernetes.client.fluent.Predicate;
import java.lang.Deprecated;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;

public interface V1beta1NetworkPolicyEgressRuleFluent> extends Fluent{


    public A addToPorts(int index,V1beta1NetworkPolicyPort item);
    public A setToPorts(int index,V1beta1NetworkPolicyPort item);
    public A addToPorts(V1beta1NetworkPolicyPort... items);
    public A addAllToPorts(Collection items);
    public A removeFromPorts(V1beta1NetworkPolicyPort... items);
    public A removeAllFromPorts(Collection items);
    
/**
 * This method has been deprecated, please use method buildPorts instead.
 */
@Deprecated public List getPorts();
    public List buildPorts();
    public V1beta1NetworkPolicyPort buildPort(int index);
    public V1beta1NetworkPolicyPort buildFirstPort();
    public V1beta1NetworkPolicyPort buildLastPort();
    public V1beta1NetworkPolicyPort buildMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
    public A withPorts(List ports);
    public A withPorts(V1beta1NetworkPolicyPort... ports);
    public Boolean hasPorts();
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested addNewPort();
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested addNewPortLike(V1beta1NetworkPolicyPort item);
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested setNewPortLike(int index,V1beta1NetworkPolicyPort item);
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested editPort(int index);
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested editFirstPort();
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested editLastPort();
    public V1beta1NetworkPolicyEgressRuleFluent.PortsNested editMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
    public A addToTo(int index,V1beta1NetworkPolicyPeer item);
    public A setToTo(int index,V1beta1NetworkPolicyPeer item);
    public A addToTo(V1beta1NetworkPolicyPeer... items);
    public A addAllToTo(Collection items);
    public A removeFromTo(V1beta1NetworkPolicyPeer... items);
    public A removeAllFromTo(Collection items);
    
/**
 * This method has been deprecated, please use method buildTo instead.
 */
@Deprecated public List getTo();
    public List buildTo();
    public V1beta1NetworkPolicyPeer buildTo(int index);
    public V1beta1NetworkPolicyPeer buildFirstTo();
    public V1beta1NetworkPolicyPeer buildLastTo();
    public V1beta1NetworkPolicyPeer buildMatchingTo(io.kubernetes.client.fluent.Predicate predicate);
    public A withTo(List to);
    public A withTo(V1beta1NetworkPolicyPeer... to);
    public Boolean hasTo();
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested addNewTo();
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested addNewToLike(V1beta1NetworkPolicyPeer item);
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested setNewToLike(int index,V1beta1NetworkPolicyPeer item);
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested editTo(int index);
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested editFirstTo();
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested editLastTo();
    public V1beta1NetworkPolicyEgressRuleFluent.ToNested editMatchingTo(io.kubernetes.client.fluent.Predicate predicate);

    public interface PortsNested extends io.kubernetes.client.fluent.Nested,V1beta1NetworkPolicyPortFluent>{

        
    public N and();    public N endPort();
}
    public interface ToNested extends io.kubernetes.client.fluent.Nested,V1beta1NetworkPolicyPeerFluent>{

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


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy