public class NetworkPolicySpecFluentImpl<A extends NetworkPolicySpecFluent<A>> extends BaseFluent<A> implements NetworkPolicySpecFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
NetworkPolicySpecFluentImpl.EgressNestedImpl<N> |
class |
NetworkPolicySpecFluentImpl.IngressNestedImpl<N> |
class |
NetworkPolicySpecFluentImpl.PodSelectorNestedImpl<N> |
NetworkPolicySpecFluent.EgressNested<N>, NetworkPolicySpecFluent.IngressNested<N>, NetworkPolicySpecFluent.PodSelectorNested<N>_visitables| Constructor and Description |
|---|
NetworkPolicySpecFluentImpl() |
NetworkPolicySpecFluentImpl(NetworkPolicySpec instance) |
public NetworkPolicySpecFluentImpl()
public NetworkPolicySpecFluentImpl(NetworkPolicySpec instance)
public A addToEgress(int index, NetworkPolicyEgressRule item)
addToEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A setToEgress(int index, NetworkPolicyEgressRule item)
setToEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addToEgress(NetworkPolicyEgressRule... items)
addToEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addAllToEgress(java.util.Collection<NetworkPolicyEgressRule> items)
addAllToEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeFromEgress(NetworkPolicyEgressRule... items)
removeFromEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeAllFromEgress(java.util.Collection<NetworkPolicyEgressRule> items)
removeAllFromEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>@Deprecated public java.util.List<NetworkPolicyEgressRule> getEgress()
getEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.util.List<NetworkPolicyEgressRule> buildEgress()
buildEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyEgressRule buildEgress(int index)
buildEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyEgressRule buildFirstEgress()
buildFirstEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyEgressRule buildLastEgress()
buildLastEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyEgressRule buildMatchingEgress(Predicate<NetworkPolicyEgressRuleBuilder> predicate)
buildMatchingEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasMatchingEgress(Predicate<NetworkPolicyEgressRuleBuilder> predicate)
hasMatchingEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withEgress(java.util.List<NetworkPolicyEgressRule> egress)
withEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withEgress(NetworkPolicyEgressRule... egress)
withEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasEgress()
hasEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> addNewEgress()
addNewEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> addNewEgressLike(NetworkPolicyEgressRule item)
addNewEgressLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> setNewEgressLike(int index, NetworkPolicyEgressRule item)
setNewEgressLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> editEgress(int index)
editEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> editFirstEgress()
editFirstEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> editLastEgress()
editLastEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.EgressNested<A> editMatchingEgress(Predicate<NetworkPolicyEgressRuleBuilder> predicate)
editMatchingEgress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addToIngress(int index, NetworkPolicyIngressRule item)
addToIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A setToIngress(int index, NetworkPolicyIngressRule item)
setToIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addToIngress(NetworkPolicyIngressRule... items)
addToIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addAllToIngress(java.util.Collection<NetworkPolicyIngressRule> items)
addAllToIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeFromIngress(NetworkPolicyIngressRule... items)
removeFromIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeAllFromIngress(java.util.Collection<NetworkPolicyIngressRule> items)
removeAllFromIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>@Deprecated public java.util.List<NetworkPolicyIngressRule> getIngress()
getIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.util.List<NetworkPolicyIngressRule> buildIngress()
buildIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyIngressRule buildIngress(int index)
buildIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyIngressRule buildFirstIngress()
buildFirstIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyIngressRule buildLastIngress()
buildLastIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicyIngressRule buildMatchingIngress(Predicate<NetworkPolicyIngressRuleBuilder> predicate)
buildMatchingIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasMatchingIngress(Predicate<NetworkPolicyIngressRuleBuilder> predicate)
hasMatchingIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withIngress(java.util.List<NetworkPolicyIngressRule> ingress)
withIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withIngress(NetworkPolicyIngressRule... ingress)
withIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasIngress()
hasIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> addNewIngress()
addNewIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> addNewIngressLike(NetworkPolicyIngressRule item)
addNewIngressLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> setNewIngressLike(int index, NetworkPolicyIngressRule item)
setNewIngressLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> editIngress(int index)
editIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> editFirstIngress()
editFirstIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> editLastIngress()
editLastIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.IngressNested<A> editMatchingIngress(Predicate<NetworkPolicyIngressRuleBuilder> predicate)
editMatchingIngress in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>@Deprecated public LabelSelector getPodSelector()
getPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public LabelSelector buildPodSelector()
buildPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withPodSelector(LabelSelector podSelector)
withPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasPodSelector()
hasPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelector()
withNewPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelectorLike(LabelSelector item)
withNewPodSelectorLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.PodSelectorNested<A> editPodSelector()
editPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelector()
editOrNewPodSelector in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelectorLike(LabelSelector item)
editOrNewPodSelectorLike in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addToPolicyTypes(int index, java.lang.String item)
addToPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A setToPolicyTypes(int index, java.lang.String item)
setToPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addToPolicyTypes(java.lang.String... items)
addToPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addAllToPolicyTypes(java.util.Collection<java.lang.String> items)
addAllToPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeFromPolicyTypes(java.lang.String... items)
removeFromPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A removeAllFromPolicyTypes(java.util.Collection<java.lang.String> items)
removeAllFromPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.util.List<java.lang.String> getPolicyTypes()
getPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.String getPolicyType(int index)
getPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.String getFirstPolicyType()
getFirstPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.String getLastPolicyType()
getLastPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.String getMatchingPolicyType(Predicate<java.lang.String> predicate)
getMatchingPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasMatchingPolicyType(Predicate<java.lang.String> predicate)
hasMatchingPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withPolicyTypes(java.util.List<java.lang.String> policyTypes)
withPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A withPolicyTypes(java.lang.String... policyTypes)
withPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public java.lang.Boolean hasPolicyTypes()
hasPolicyTypes in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addNewPolicyType(java.lang.String arg1)
addNewPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addNewPolicyType(java.lang.StringBuilder arg1)
addNewPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public A addNewPolicyType(java.lang.StringBuffer arg1)
addNewPolicyType in interface NetworkPolicySpecFluent<A extends NetworkPolicySpecFluent<A>>public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2015-2019 Red Hat. All Rights Reserved.