Class V1NetworkPolicySpecFluentImpl<A extends V1NetworkPolicySpecFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1NetworkPolicySpecFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,V1NetworkPolicySpecFluent<A>
- Direct Known Subclasses:
V1NetworkPolicySpecBuilder
public class V1NetworkPolicySpecFluentImpl<A extends V1NetworkPolicySpecFluent<A>>
extends BaseFluent<A>
implements V1NetworkPolicySpecFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1NetworkPolicySpecFluent
V1NetworkPolicySpecFluent.EgressNested<N>, V1NetworkPolicySpecFluent.IngressNested<N>, V1NetworkPolicySpecFluent.PodSelectorNested<N> -
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT -
Constructor Summary
ConstructorsConstructorDescriptionV1NetworkPolicySpecFluentImpl(io.kubernetes.client.openapi.models.V1NetworkPolicySpec instance) -
Method Summary
Modifier and TypeMethodDescriptionaddAllToEgress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule> items) addAllToIngress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> items) addAllToPolicyTypes(Collection<String> items) addNewEgressLike(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) addNewIngressLike(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) addToEgress(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule... items) addToEgress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) addToIngress(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule... items) addToIngress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) addToPolicyTypes(Integer index, String item) addToPolicyTypes(String... items) List<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule>io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRulebuildEgress(Integer index) io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRuleio.kubernetes.client.openapi.models.V1NetworkPolicyIngressRuleList<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule>io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRulebuildIngress(Integer index) io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRuleio.kubernetes.client.openapi.models.V1NetworkPolicyIngressRuleio.kubernetes.client.openapi.models.V1NetworkPolicyEgressRuleio.kubernetes.client.openapi.models.V1NetworkPolicyIngressRuleio.kubernetes.client.openapi.models.V1LabelSelectoreditEgress(Integer index) editIngress(Integer index) editOrNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item) booleanList<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule>Deprecated.List<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule>Deprecated.getMatchingPolicyType(Predicate<String> predicate) io.kubernetes.client.openapi.models.V1LabelSelectorDeprecated.getPolicyType(Integer index) inthashCode()hasMatchingPolicyType(Predicate<String> predicate) removeAllFromEgress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule> items) removeAllFromIngress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> items) removeAllFromPolicyTypes(Collection<String> items) removeFromEgress(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule... items) removeFromIngress(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule... items) removeFromPolicyTypes(String... items) setNewEgressLike(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) setNewIngressLike(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) setToEgress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) setToIngress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) setToPolicyTypes(Integer index, String item) toString()withEgress(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule... egress) withEgress(List<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule> egress) withIngress(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule... ingress) withIngress(List<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> ingress) withNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item) withPodSelector(io.kubernetes.client.openapi.models.V1LabelSelector podSelector) withPolicyTypes(String... policyTypes) withPolicyTypes(List<String> policyTypes) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1NetworkPolicySpecFluentImpl
public V1NetworkPolicySpecFluentImpl() -
V1NetworkPolicySpecFluentImpl
public V1NetworkPolicySpecFluentImpl(io.kubernetes.client.openapi.models.V1NetworkPolicySpec instance)
-
-
Method Details
-
addToEgress
public A addToEgress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) - Specified by:
addToEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
setToEgress
public A setToEgress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) - Specified by:
setToEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addToEgress
- Specified by:
addToEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addAllToEgress
public A addAllToEgress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule> items) - Specified by:
addAllToEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeFromEgress
- Specified by:
removeFromEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeAllFromEgress
public A removeAllFromEgress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule> items) - Specified by:
removeAllFromEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeMatchingFromEgress
- Specified by:
removeMatchingFromEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getEgress
Deprecated.This method has been deprecated, please use method buildEgress instead.- Specified by:
getEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>- Returns:
- The buildable object.
-
buildEgress
- Specified by:
buildEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildEgress
- Specified by:
buildEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildFirstEgress
public io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule buildFirstEgress()- Specified by:
buildFirstEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildLastEgress
public io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule buildLastEgress()- Specified by:
buildLastEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildMatchingEgress
public io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule buildMatchingEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate) - Specified by:
buildMatchingEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasMatchingEgress
- Specified by:
hasMatchingEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withEgress
- Specified by:
withEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withEgress
- Specified by:
withEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasEgress
- Specified by:
hasEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addNewEgress
- Specified by:
addNewEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addNewEgressLike
public V1NetworkPolicySpecFluent.EgressNested<A> addNewEgressLike(io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) - Specified by:
addNewEgressLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
setNewEgressLike
public V1NetworkPolicySpecFluent.EgressNested<A> setNewEgressLike(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyEgressRule item) - Specified by:
setNewEgressLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editEgress
- Specified by:
editEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editFirstEgress
- Specified by:
editFirstEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editLastEgress
- Specified by:
editLastEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editMatchingEgress
public V1NetworkPolicySpecFluent.EgressNested<A> editMatchingEgress(Predicate<V1NetworkPolicyEgressRuleBuilder> predicate) - Specified by:
editMatchingEgressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addToIngress
public A addToIngress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) - Specified by:
addToIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
setToIngress
public A setToIngress(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) - Specified by:
setToIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addToIngress
- Specified by:
addToIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addAllToIngress
public A addAllToIngress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> items) - Specified by:
addAllToIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeFromIngress
- Specified by:
removeFromIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeAllFromIngress
public A removeAllFromIngress(Collection<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> items) - Specified by:
removeAllFromIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeMatchingFromIngress
- Specified by:
removeMatchingFromIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getIngress
@Deprecated public List<io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule> getIngress()Deprecated.This method has been deprecated, please use method buildIngress instead.- Specified by:
getIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>- Returns:
- The buildable object.
-
buildIngress
- Specified by:
buildIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildIngress
- Specified by:
buildIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildFirstIngress
public io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule buildFirstIngress()- Specified by:
buildFirstIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildLastIngress
public io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule buildLastIngress()- Specified by:
buildLastIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
buildMatchingIngress
public io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule buildMatchingIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate) - Specified by:
buildMatchingIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasMatchingIngress
- Specified by:
hasMatchingIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withIngress
- Specified by:
withIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withIngress
- Specified by:
withIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasIngress
- Specified by:
hasIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addNewIngress
- Specified by:
addNewIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addNewIngressLike
public V1NetworkPolicySpecFluent.IngressNested<A> addNewIngressLike(io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) - Specified by:
addNewIngressLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
setNewIngressLike
public V1NetworkPolicySpecFluent.IngressNested<A> setNewIngressLike(Integer index, io.kubernetes.client.openapi.models.V1NetworkPolicyIngressRule item) - Specified by:
setNewIngressLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editIngress
- Specified by:
editIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editFirstIngress
- Specified by:
editFirstIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editLastIngress
- Specified by:
editLastIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editMatchingIngress
public V1NetworkPolicySpecFluent.IngressNested<A> editMatchingIngress(Predicate<V1NetworkPolicyIngressRuleBuilder> predicate) - Specified by:
editMatchingIngressin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getPodSelector
Deprecated.This method has been deprecated, please use method buildPodSelector instead.- Specified by:
getPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>- Returns:
- The buildable object.
-
buildPodSelector
public io.kubernetes.client.openapi.models.V1LabelSelector buildPodSelector()- Specified by:
buildPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withPodSelector
- Specified by:
withPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasPodSelector
- Specified by:
hasPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withNewPodSelector
- Specified by:
withNewPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withNewPodSelectorLike
public V1NetworkPolicySpecFluent.PodSelectorNested<A> withNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item) - Specified by:
withNewPodSelectorLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editPodSelector
- Specified by:
editPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editOrNewPodSelector
- Specified by:
editOrNewPodSelectorin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
editOrNewPodSelectorLike
public V1NetworkPolicySpecFluent.PodSelectorNested<A> editOrNewPodSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item) - Specified by:
editOrNewPodSelectorLikein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addToPolicyTypes
- Specified by:
addToPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
setToPolicyTypes
- Specified by:
setToPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addToPolicyTypes
- Specified by:
addToPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
addAllToPolicyTypes
- Specified by:
addAllToPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeFromPolicyTypes
- Specified by:
removeFromPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
removeAllFromPolicyTypes
- Specified by:
removeAllFromPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getPolicyTypes
- Specified by:
getPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getPolicyType
- Specified by:
getPolicyTypein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getFirstPolicyType
- Specified by:
getFirstPolicyTypein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getLastPolicyType
- Specified by:
getLastPolicyTypein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
getMatchingPolicyType
- Specified by:
getMatchingPolicyTypein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasMatchingPolicyType
- Specified by:
hasMatchingPolicyTypein interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withPolicyTypes
- Specified by:
withPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
withPolicyTypes
- Specified by:
withPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hasPolicyTypes
- Specified by:
hasPolicyTypesin interfaceV1NetworkPolicySpecFluent<A extends V1NetworkPolicySpecFluent<A>>
-
equals
- Overrides:
equalsin classBaseFluent<A extends V1NetworkPolicySpecFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends V1NetworkPolicySpecFluent<A>>
-
toString
-