public class NetworkPolicyEgressRuleFluentImpl<A extends NetworkPolicyEgressRuleFluent<A>> extends BaseFluent<A> implements NetworkPolicyEgressRuleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NetworkPolicyEgressRuleFluentImpl.PortsNestedImpl<N> |
class |
NetworkPolicyEgressRuleFluentImpl.ToNestedImpl<N> |
NetworkPolicyEgressRuleFluent.PortsNested<N>, NetworkPolicyEgressRuleFluent.ToNested<N>
_visitables
Constructor and Description |
---|
NetworkPolicyEgressRuleFluentImpl() |
NetworkPolicyEgressRuleFluentImpl(NetworkPolicyEgressRule instance) |
public NetworkPolicyEgressRuleFluentImpl()
public NetworkPolicyEgressRuleFluentImpl(NetworkPolicyEgressRule instance)
public A addToPorts(int index, NetworkPolicyPort item)
addToPorts
in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>
public A setToPorts(int 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>>
@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(int 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 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(int index, NetworkPolicyPort item)
setNewPortLike
in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>
public NetworkPolicyEgressRuleFluent.PortsNested<A> editPort(int 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(int index, NetworkPolicyPeer item)
addToTo
in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>
public A setToTo(int 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>>
@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(int 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 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(int index, NetworkPolicyPeer item)
setNewToLike
in interface NetworkPolicyEgressRuleFluent<A extends NetworkPolicyEgressRuleFluent<A>>
public NetworkPolicyEgressRuleFluent.ToNested<A> editTo(int 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>>
Copyright © 2011–2018 Red Hat. All rights reserved.