public class NetworkPolicyEgressRuleFluentImpl<A extends NetworkPolicyEgressRuleFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements NetworkPolicyEgressRuleFluent<A>
NetworkPolicyEgressRuleFluent.PortsNested<N>, NetworkPolicyEgressRuleFluent.ToNested<N>| Constructor and Description |
|---|
NetworkPolicyEgressRuleFluentImpl() |
NetworkPolicyEgressRuleFluentImpl(NetworkPolicyEgressRule instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic NetworkPolicyEgressRuleFluentImpl()
public NetworkPolicyEgressRuleFluentImpl(NetworkPolicyEgressRule instance)
public A addToPorts(Integer index, NetworkPolicyPort item)
addToPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A setToPorts(Integer index, NetworkPolicyPort item)
setToPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addToPorts(NetworkPolicyPort... items)
addToPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addAllToPorts(Collection<NetworkPolicyPort> items)
addAllToPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeFromPorts(NetworkPolicyPort... items)
removeFromPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeAllFromPorts(Collection<NetworkPolicyPort> items)
removeAllFromPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeMatchingFromPorts(Predicate<NetworkPolicyPortBuilder> predicate)
removeMatchingFromPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>@Deprecated public List<NetworkPolicyPort> getPorts()
getPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public List<NetworkPolicyPort> buildPorts()
buildPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPort buildPort(Integer index)
buildPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPort buildFirstPort()
buildFirstPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPort buildLastPort()
buildLastPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPort buildMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
buildMatchingPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Boolean hasMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
hasMatchingPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A withPorts(List<NetworkPolicyPort> ports)
withPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A withPorts(NetworkPolicyPort... ports)
withPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Boolean hasPorts()
hasPorts in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> addNewPort()
addNewPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> addNewPortLike(NetworkPolicyPort item)
addNewPortLike in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> setNewPortLike(Integer index, NetworkPolicyPort item)
setNewPortLike in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> editPort(Integer index)
editPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> editFirstPort()
editFirstPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> editLastPort()
editLastPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.PortsNested<A> editMatchingPort(Predicate<NetworkPolicyPortBuilder> predicate)
editMatchingPort in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addToTo(Integer index, NetworkPolicyPeer item)
addToTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A setToTo(Integer index, NetworkPolicyPeer item)
setToTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addToTo(NetworkPolicyPeer... items)
addToTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addAllToTo(Collection<NetworkPolicyPeer> items)
addAllToTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeFromTo(NetworkPolicyPeer... items)
removeFromTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeAllFromTo(Collection<NetworkPolicyPeer> items)
removeAllFromTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeMatchingFromTo(Predicate<NetworkPolicyPeerBuilder> predicate)
removeMatchingFromTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>@Deprecated public List<NetworkPolicyPeer> getTo()
getTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public List<NetworkPolicyPeer> buildTo()
buildTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPeer buildTo(Integer index)
buildTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPeer buildFirstTo()
buildFirstTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPeer buildLastTo()
buildLastTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyPeer buildMatchingTo(Predicate<NetworkPolicyPeerBuilder> predicate)
buildMatchingTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Boolean hasMatchingTo(Predicate<NetworkPolicyPeerBuilder> predicate)
hasMatchingTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A withTo(List<NetworkPolicyPeer> to)
withTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A withTo(NetworkPolicyPeer... to)
withTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Boolean hasTo()
hasTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> addNewTo()
addNewTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> addNewToLike(NetworkPolicyPeer item)
addNewToLike in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> setNewToLike(Integer index, NetworkPolicyPeer item)
setNewToLike in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> editTo(Integer index)
editTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> editFirstTo()
editFirstTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> editLastTo()
editLastTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public NetworkPolicyEgressRuleFluent.ToNested<A> editMatchingTo(Predicate<NetworkPolicyPeerBuilder> predicate)
editMatchingTo in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addToAdditionalProperties(String key, Object value)
addToAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeFromAdditionalProperties(String key)
removeFromAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public A removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public Boolean hasAdditionalProperties()
hasAdditionalProperties in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkPolicyEgressRuleFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkPolicyEgressRuleFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.