public class NetworkPolicyIngressRuleFluentImpl<A extends NetworkPolicyIngressRuleFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements NetworkPolicyIngressRuleFluent<A>
NetworkPolicyIngressRuleFluent.FromNested<N>, NetworkPolicyIngressRuleFluent.PortsNested<N>| Constructor and Description |
|---|
NetworkPolicyIngressRuleFluentImpl() |
NetworkPolicyIngressRuleFluentImpl(NetworkPolicyIngressRule instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic NetworkPolicyIngressRuleFluentImpl()
public NetworkPolicyIngressRuleFluentImpl(NetworkPolicyIngressRule instance)
public A addToFrom(Integer index, NetworkPolicyPeer item)
addToFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A setToFrom(Integer index, NetworkPolicyPeer item)
setToFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addToFrom(NetworkPolicyPeer... items)
addToFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addAllToFrom(Collection<NetworkPolicyPeer> items)
addAllToFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeFromFrom(NetworkPolicyPeer... items)
removeFromFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeAllFromFrom(Collection<NetworkPolicyPeer> items)
removeAllFromFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeMatchingFromFrom(Predicate<NetworkPolicyPeerBuilder> predicate)
removeMatchingFromFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>@Deprecated public List<NetworkPolicyPeer> getFrom()
getFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public List<NetworkPolicyPeer> buildFrom()
buildFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPeer buildFrom(Integer index)
buildFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPeer buildFirstFrom()
buildFirstFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPeer buildLastFrom()
buildLastFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPeer buildMatchingFrom(Predicate<NetworkPolicyPeerBuilder> predicate)
buildMatchingFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Boolean hasMatchingFrom(Predicate<NetworkPolicyPeerBuilder> predicate)
hasMatchingFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A withFrom(List<NetworkPolicyPeer> from)
withFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A withFrom(NetworkPolicyPeer... from)
withFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Boolean hasFrom()
hasFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> addNewFrom()
addNewFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> addNewFromLike(NetworkPolicyPeer item)
addNewFromLike in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> setNewFromLike(Integer index, NetworkPolicyPeer item)
setNewFromLike in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> editFrom(Integer index)
editFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> editFirstFrom()
editFirstFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> editLastFrom()
editLastFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.FromNested<A> editMatchingFrom(Predicate<NetworkPolicyPeerBuilder> predicate)
editMatchingFrom in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addToPorts(Integer index, NetworkPolicyPort item)
addToPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A setToPorts(Integer index, NetworkPolicyPort item)
setToPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addToPorts(NetworkPolicyPort... items)
addToPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addAllToPorts(Collection<NetworkPolicyPort> items)
addAllToPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeFromPorts(NetworkPolicyPort... items)
removeFromPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeAllFromPorts(Collection<NetworkPolicyPort> items)
removeAllFromPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeMatchingFromPorts(Predicate<NetworkPolicyPortBuilder> predicate)
removeMatchingFromPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>@Deprecated public List<NetworkPolicyPort> getPorts()
getPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public List<NetworkPolicyPort> buildPorts()
buildPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPort buildPort(Integer index)
buildPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPort buildFirstPort()
buildFirstPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPort buildLastPort()
buildLastPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyPort buildMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
buildMatchingPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Boolean hasMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
hasMatchingPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A withPorts(List<NetworkPolicyPort> ports)
withPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A withPorts(NetworkPolicyPort... ports)
withPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Boolean hasPorts()
hasPorts in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> addNewPort()
addNewPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> addNewPortLike(NetworkPolicyPort item)
addNewPortLike in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> setNewPortLike(Integer index, NetworkPolicyPort item)
setNewPortLike in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> editPort(Integer index)
editPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> editFirstPort()
editFirstPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> editLastPort()
editLastPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public NetworkPolicyIngressRuleFluent.PortsNested<A> editMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
editMatchingPort in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addToAdditionalProperties(String key, Object value)
addToAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeFromAdditionalProperties(String key)
removeFromAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public A removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public Boolean hasAdditionalProperties()
hasAdditionalProperties in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkPolicyIngressRuleFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkPolicyIngressRuleFluent<A>>Copyright © 2015–2023 Red Hat. All rights reserved.