public class NetworkPolicyIngressRuleFluentImpl<A extends NetworkPolicyIngressRuleFluent<A>> extends BaseFluent<A> implements NetworkPolicyIngressRuleFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NetworkPolicyIngressRuleFluentImpl.FromNestedImpl<N> |
class |
NetworkPolicyIngressRuleFluentImpl.PortsNestedImpl<N> |
NetworkPolicyIngressRuleFluent.FromNested<N>, NetworkPolicyIngressRuleFluent.PortsNested<N>
_visitables
Constructor and Description |
---|
NetworkPolicyIngressRuleFluentImpl() |
NetworkPolicyIngressRuleFluentImpl(NetworkPolicyIngressRule instance) |
public NetworkPolicyIngressRuleFluentImpl()
public NetworkPolicyIngressRuleFluentImpl(NetworkPolicyIngressRule instance)
public A addToFrom(int index, NetworkPolicyPeer item)
addToFrom
in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>
public A setToFrom(int 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>>
@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(int 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(int index, NetworkPolicyPeer item)
setNewFromLike
in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>
public NetworkPolicyIngressRuleFluent.FromNested<A> editFrom(int 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(int index, NetworkPolicyPort item)
addToPorts
in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>
public A setToPorts(int 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>>
@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(int 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(int index, NetworkPolicyPort item)
setNewPortLike
in interface NetworkPolicyIngressRuleFluent<A extends NetworkPolicyIngressRuleFluent<A>>
public NetworkPolicyIngressRuleFluent.PortsNested<A> editPort(int 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>>
Copyright © 2015–2019 Red Hat. All rights reserved.