io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.lang.String;
import java.lang.Deprecated;
import java.lang.Boolean;
public interface V1NetworkPolicyPeerFluent> extends Fluent {
/**
* This method has been deprecated, please use method buildIpBlock instead.
* @return The buildable object.
*/
@Deprecated public V1IPBlock getIpBlock();
public V1IPBlock buildIpBlock();
public A withIpBlock(V1IPBlock ipBlock);
public Boolean hasIpBlock();
public V1NetworkPolicyPeerFluent.IpBlockNested withNewIpBlock();
public V1NetworkPolicyPeerFluent.IpBlockNested withNewIpBlockLike(V1IPBlock item);
public V1NetworkPolicyPeerFluent.IpBlockNested editIpBlock();
public V1NetworkPolicyPeerFluent.IpBlockNested editOrNewIpBlock();
public V1NetworkPolicyPeerFluent.IpBlockNested editOrNewIpBlockLike(V1IPBlock item);
/**
* This method has been deprecated, please use method buildNamespaceSelector instead.
* @return The buildable object.
*/
@Deprecated public V1LabelSelector getNamespaceSelector();
public V1LabelSelector buildNamespaceSelector();
public A withNamespaceSelector(V1LabelSelector namespaceSelector);
public Boolean hasNamespaceSelector();
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested withNewNamespaceSelector();
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested withNewNamespaceSelectorLike(V1LabelSelector item);
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested editNamespaceSelector();
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested editOrNewNamespaceSelector();
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested editOrNewNamespaceSelectorLike(V1LabelSelector item);
/**
* This method has been deprecated, please use method buildPodSelector instead.
* @return The buildable object.
*/
@Deprecated public V1LabelSelector getPodSelector();
public V1LabelSelector buildPodSelector();
public A withPodSelector(V1LabelSelector podSelector);
public Boolean hasPodSelector();
public V1NetworkPolicyPeerFluent.PodSelectorNested withNewPodSelector();
public V1NetworkPolicyPeerFluent.PodSelectorNested withNewPodSelectorLike(V1LabelSelector item);
public V1NetworkPolicyPeerFluent.PodSelectorNested editPodSelector();
public V1NetworkPolicyPeerFluent.PodSelectorNested editOrNewPodSelector();
public V1NetworkPolicyPeerFluent.PodSelectorNested editOrNewPodSelectorLike(V1LabelSelector item);
public interface IpBlockNested extends io.kubernetes.client.fluent.Nested,V1IPBlockFluent> {
public N and();
public N endIpBlock(); }
public interface NamespaceSelectorNested extends io.kubernetes.client.fluent.Nested,V1LabelSelectorFluent> {
public N and();
public N endNamespaceSelector(); }
public interface PodSelectorNested extends io.kubernetes.client.fluent.Nested,V1LabelSelectorFluent> {
public N and();
public N endPodSelector(); }
}