public class V1NetworkPolicySpecFluentImpl<A extends V1NetworkPolicySpecFluent<A>> extends BaseFluent<A> implements V1NetworkPolicySpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1NetworkPolicySpecFluentImpl.EgressNestedImpl<N> |
class |
V1NetworkPolicySpecFluentImpl.IngressNestedImpl<N> |
class |
V1NetworkPolicySpecFluentImpl.PodSelectorNestedImpl<N> |
V1NetworkPolicySpecFluent.EgressNested<N>, V1NetworkPolicySpecFluent.IngressNested<N>, V1NetworkPolicySpecFluent.PodSelectorNested<N>
_visitables
Constructor and Description |
---|
V1NetworkPolicySpecFluentImpl() |
V1NetworkPolicySpecFluentImpl(V1NetworkPolicySpec instance) |
public V1NetworkPolicySpecFluentImpl()
public V1NetworkPolicySpecFluentImpl(V1NetworkPolicySpec instance)
public A addToEgress(int index, V1NetworkPolicyEgressRule item)
addToEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A setToEgress(int index, V1NetworkPolicyEgressRule item)
setToEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addToEgress(V1NetworkPolicyEgressRule... items)
addToEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addAllToEgress(Collection<V1NetworkPolicyEgressRule> items)
addAllToEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeFromEgress(V1NetworkPolicyEgressRule... items)
removeFromEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeAllFromEgress(Collection<V1NetworkPolicyEgressRule> items)
removeAllFromEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeMatchingFromEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate)
removeMatchingFromEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
@Deprecated public List<V1NetworkPolicyEgressRule> getEgress()
getEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public List<V1NetworkPolicyEgressRule> buildEgress()
buildEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyEgressRule buildEgress(int index)
buildEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyEgressRule buildFirstEgress()
buildFirstEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyEgressRule buildLastEgress()
buildLastEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyEgressRule buildMatchingEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate)
buildMatchingEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasMatchingEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate)
hasMatchingEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withEgress(List<V1NetworkPolicyEgressRule> egress)
withEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withEgress(V1NetworkPolicyEgressRule... egress)
withEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasEgress()
hasEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> addNewEgress()
addNewEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> addNewEgressLike(V1NetworkPolicyEgressRule item)
addNewEgressLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> setNewEgressLike(int index, V1NetworkPolicyEgressRule item)
setNewEgressLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> editEgress(int index)
editEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> editFirstEgress()
editFirstEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> editLastEgress()
editLastEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.EgressNested<A> editMatchingEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate)
editMatchingEgress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addToIngress(int index, V1NetworkPolicyIngressRule item)
addToIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A setToIngress(int index, V1NetworkPolicyIngressRule item)
setToIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addToIngress(V1NetworkPolicyIngressRule... items)
addToIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addAllToIngress(Collection<V1NetworkPolicyIngressRule> items)
addAllToIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeFromIngress(V1NetworkPolicyIngressRule... items)
removeFromIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeAllFromIngress(Collection<V1NetworkPolicyIngressRule> items)
removeAllFromIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeMatchingFromIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate)
removeMatchingFromIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
@Deprecated public List<V1NetworkPolicyIngressRule> getIngress()
getIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public List<V1NetworkPolicyIngressRule> buildIngress()
buildIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyIngressRule buildIngress(int index)
buildIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyIngressRule buildFirstIngress()
buildFirstIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyIngressRule buildLastIngress()
buildLastIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicyIngressRule buildMatchingIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate)
buildMatchingIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasMatchingIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate)
hasMatchingIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withIngress(List<V1NetworkPolicyIngressRule> ingress)
withIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withIngress(V1NetworkPolicyIngressRule... ingress)
withIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasIngress()
hasIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> addNewIngress()
addNewIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> addNewIngressLike(V1NetworkPolicyIngressRule item)
addNewIngressLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> setNewIngressLike(int index, V1NetworkPolicyIngressRule item)
setNewIngressLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> editIngress(int index)
editIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> editFirstIngress()
editFirstIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> editLastIngress()
editLastIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.IngressNested<A> editMatchingIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate)
editMatchingIngress
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
@Deprecated public V1LabelSelector getPodSelector()
getPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1LabelSelector buildPodSelector()
buildPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withPodSelector(V1LabelSelector podSelector)
withPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasPodSelector()
hasPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelector()
withNewPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelectorLike(V1LabelSelector item)
withNewPodSelectorLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.PodSelectorNested<A> editPodSelector()
editPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelector()
editOrNewPodSelector
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public V1NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelectorLike(V1LabelSelector item)
editOrNewPodSelectorLike
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addToPolicyTypes(int index, String item)
addToPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A setToPolicyTypes(int index, String item)
setToPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addToPolicyTypes(String... items)
addToPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addAllToPolicyTypes(Collection<String> items)
addAllToPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeFromPolicyTypes(String... items)
removeFromPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A removeAllFromPolicyTypes(Collection<String> items)
removeAllFromPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public List<String> getPolicyTypes()
getPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public String getPolicyType(int index)
getPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public String getFirstPolicyType()
getFirstPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public String getLastPolicyType()
getLastPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public String getMatchingPolicyType(Predicate<String> predicate)
getMatchingPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasMatchingPolicyType(Predicate<String> predicate)
hasMatchingPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withPolicyTypes(List<String> policyTypes)
withPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A withPolicyTypes(String... policyTypes)
withPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public Boolean hasPolicyTypes()
hasPolicyTypes
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addNewPolicyType(String arg1)
addNewPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addNewPolicyType(StringBuilder arg1)
addNewPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
public A addNewPolicyType(StringBuffer arg1)
addNewPolicyType
in interface V1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
Copyright © 2020. All rights reserved.