
io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent Maven / Gradle / Ivy
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
/** Generated */
public interface V1NetworkPolicyPeerFluent>
extends Fluent {
/**
* This method has been deprecated, please use method buildIpBlock instead.
*
* @return The buildable object.
*/
@Deprecated
public V1IPBlock getIpBlock();
public io.kubernetes.client.openapi.models.V1IPBlock buildIpBlock();
public A withIpBlock(io.kubernetes.client.openapi.models.V1IPBlock ipBlock);
public Boolean hasIpBlock();
public V1NetworkPolicyPeerFluent.IpBlockNested withNewIpBlock();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.IpBlockNested
withNewIpBlockLike(io.kubernetes.client.openapi.models.V1IPBlock item);
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.IpBlockNested
editIpBlock();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.IpBlockNested
editOrNewIpBlock();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.IpBlockNested
editOrNewIpBlockLike(io.kubernetes.client.openapi.models.V1IPBlock item);
/**
* This method has been deprecated, please use method buildNamespaceSelector instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V1LabelSelector getNamespaceSelector();
public io.kubernetes.client.openapi.models.V1LabelSelector buildNamespaceSelector();
public A withNamespaceSelector(
io.kubernetes.client.openapi.models.V1LabelSelector namespaceSelector);
public java.lang.Boolean hasNamespaceSelector();
public V1NetworkPolicyPeerFluent.NamespaceSelectorNested withNewNamespaceSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.NamespaceSelectorNested
withNewNamespaceSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.NamespaceSelectorNested
editNamespaceSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.NamespaceSelectorNested
editOrNewNamespaceSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.NamespaceSelectorNested
editOrNewNamespaceSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
/**
* This method has been deprecated, please use method buildPodSelector instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public io.kubernetes.client.openapi.models.V1LabelSelector getPodSelector();
public io.kubernetes.client.openapi.models.V1LabelSelector buildPodSelector();
public A withPodSelector(io.kubernetes.client.openapi.models.V1LabelSelector podSelector);
public java.lang.Boolean hasPodSelector();
public V1NetworkPolicyPeerFluent.PodSelectorNested withNewPodSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.PodSelectorNested
withNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.PodSelectorNested
editPodSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.PodSelectorNested
editOrNewPodSelector();
public io.kubernetes.client.openapi.models.V1NetworkPolicyPeerFluent.PodSelectorNested
editOrNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
public interface IpBlockNested
extends 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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy