public interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>> extends Fluent<A>
Modifier and Type | Interface and Description |
---|---|
static interface |
NetworkPolicySpecFluent.EgressNested<N> |
static interface |
NetworkPolicySpecFluent.IngressNested<N> |
static interface |
NetworkPolicySpecFluent.PodSelectorNested<N> |
A addToEgress(int index, NetworkPolicyEgressRule item)
A setToEgress(int index, NetworkPolicyEgressRule item)
A addToEgress(NetworkPolicyEgressRule... items)
A addAllToEgress(Collection<NetworkPolicyEgressRule> items)
A removeFromEgress(NetworkPolicyEgressRule... items)
A removeAllFromEgress(Collection<NetworkPolicyEgressRule> items)
@Deprecated List<NetworkPolicyEgressRule> getEgress()
List<NetworkPolicyEgressRule> buildEgress()
NetworkPolicyEgressRule buildEgress(int index)
NetworkPolicyEgressRule buildFirstEgress()
NetworkPolicyEgressRule buildLastEgress()
NetworkPolicyEgressRule buildMatchingEgress(Predicate<NetworkPolicyEgressRuleBuilder> predicate)
A withEgress(List<NetworkPolicyEgressRule> egress)
A withEgress(NetworkPolicyEgressRule... egress)
Boolean hasEgress()
NetworkPolicySpecFluent.EgressNested<A> addNewEgress()
NetworkPolicySpecFluent.EgressNested<A> addNewEgressLike(NetworkPolicyEgressRule item)
NetworkPolicySpecFluent.EgressNested<A> setNewEgressLike(int index, NetworkPolicyEgressRule item)
NetworkPolicySpecFluent.EgressNested<A> editEgress(int index)
NetworkPolicySpecFluent.EgressNested<A> editFirstEgress()
NetworkPolicySpecFluent.EgressNested<A> editLastEgress()
NetworkPolicySpecFluent.EgressNested<A> editMatchingEgress(Predicate<NetworkPolicyEgressRuleBuilder> predicate)
A addToIngress(int index, NetworkPolicyIngressRule item)
A setToIngress(int index, NetworkPolicyIngressRule item)
A addToIngress(NetworkPolicyIngressRule... items)
A addAllToIngress(Collection<NetworkPolicyIngressRule> items)
A removeFromIngress(NetworkPolicyIngressRule... items)
A removeAllFromIngress(Collection<NetworkPolicyIngressRule> items)
@Deprecated List<NetworkPolicyIngressRule> getIngress()
List<NetworkPolicyIngressRule> buildIngress()
NetworkPolicyIngressRule buildIngress(int index)
NetworkPolicyIngressRule buildFirstIngress()
NetworkPolicyIngressRule buildLastIngress()
NetworkPolicyIngressRule buildMatchingIngress(Predicate<NetworkPolicyIngressRuleBuilder> predicate)
A withIngress(List<NetworkPolicyIngressRule> ingress)
A withIngress(NetworkPolicyIngressRule... ingress)
Boolean hasIngress()
NetworkPolicySpecFluent.IngressNested<A> addNewIngress()
NetworkPolicySpecFluent.IngressNested<A> addNewIngressLike(NetworkPolicyIngressRule item)
NetworkPolicySpecFluent.IngressNested<A> setNewIngressLike(int index, NetworkPolicyIngressRule item)
NetworkPolicySpecFluent.IngressNested<A> editIngress(int index)
NetworkPolicySpecFluent.IngressNested<A> editFirstIngress()
NetworkPolicySpecFluent.IngressNested<A> editLastIngress()
NetworkPolicySpecFluent.IngressNested<A> editMatchingIngress(Predicate<NetworkPolicyIngressRuleBuilder> predicate)
@Deprecated LabelSelector getPodSelector()
LabelSelector buildPodSelector()
A withPodSelector(LabelSelector podSelector)
Boolean hasPodSelector()
NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelector()
NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelectorLike(LabelSelector item)
NetworkPolicySpecFluent.PodSelectorNested<A> editPodSelector()
NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelector()
NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelectorLike(LabelSelector item)
A addAllToPolicyTypes(Collection<String> items)
A removeAllFromPolicyTypes(Collection<String> items)
String getPolicyType(int index)
String getFirstPolicyType()
String getLastPolicyType()
Boolean hasPolicyTypes()
Copyright © 2011–2018 Red Hat. All rights reserved.