Package io.fabric8.kubernetes.api.model
Class PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PodAffinityTermFluent<A>
-
- Direct Known Subclasses:
PodAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested
,PodAffinityTermBuilder
,PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested
,WeightedPodAffinityTermFluent.PodAffinityTermNested
public class PodAffinityTermFluent<A extends PodAffinityTermFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PodAffinityTermFluent.LabelSelectorNested<N>
class
PodAffinityTermFluent.NamespaceSelectorNested<N>
-
Constructor Summary
Constructors Constructor Description PodAffinityTermFluent()
PodAffinityTermFluent(PodAffinityTerm instance)
-
Method Summary
-
-
-
Constructor Detail
-
PodAffinityTermFluent
public PodAffinityTermFluent()
-
PodAffinityTermFluent
public PodAffinityTermFluent(PodAffinityTerm instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(PodAffinityTerm instance)
-
buildLabelSelector
public LabelSelector buildLabelSelector()
-
withLabelSelector
public A withLabelSelector(LabelSelector labelSelector)
-
hasLabelSelector
public boolean hasLabelSelector()
-
withNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelector()
-
withNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelectorLike(LabelSelector item)
-
editLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editLabelSelector()
-
editOrNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelector()
-
editOrNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelectorLike(LabelSelector item)
-
addAllToMatchLabelKeys
public A addAllToMatchLabelKeys(Collection<String> items)
-
removeAllFromMatchLabelKeys
public A removeAllFromMatchLabelKeys(Collection<String> items)
-
getMatchLabelKey
public String getMatchLabelKey(int index)
-
getFirstMatchLabelKey
public String getFirstMatchLabelKey()
-
getLastMatchLabelKey
public String getLastMatchLabelKey()
-
hasMatchLabelKeys
public boolean hasMatchLabelKeys()
-
addAllToMismatchLabelKeys
public A addAllToMismatchLabelKeys(Collection<String> items)
-
removeAllFromMismatchLabelKeys
public A removeAllFromMismatchLabelKeys(Collection<String> items)
-
getMismatchLabelKey
public String getMismatchLabelKey(int index)
-
getFirstMismatchLabelKey
public String getFirstMismatchLabelKey()
-
getLastMismatchLabelKey
public String getLastMismatchLabelKey()
-
hasMatchingMismatchLabelKey
public boolean hasMatchingMismatchLabelKey(Predicate<String> predicate)
-
hasMismatchLabelKeys
public boolean hasMismatchLabelKeys()
-
buildNamespaceSelector
public LabelSelector buildNamespaceSelector()
-
withNamespaceSelector
public A withNamespaceSelector(LabelSelector namespaceSelector)
-
hasNamespaceSelector
public boolean hasNamespaceSelector()
-
withNewNamespaceSelector
public PodAffinityTermFluent.NamespaceSelectorNested<A> withNewNamespaceSelector()
-
withNewNamespaceSelectorLike
public PodAffinityTermFluent.NamespaceSelectorNested<A> withNewNamespaceSelectorLike(LabelSelector item)
-
editNamespaceSelector
public PodAffinityTermFluent.NamespaceSelectorNested<A> editNamespaceSelector()
-
editOrNewNamespaceSelector
public PodAffinityTermFluent.NamespaceSelectorNested<A> editOrNewNamespaceSelector()
-
editOrNewNamespaceSelectorLike
public PodAffinityTermFluent.NamespaceSelectorNested<A> editOrNewNamespaceSelectorLike(LabelSelector item)
-
addAllToNamespaces
public A addAllToNamespaces(Collection<String> items)
-
removeAllFromNamespaces
public A removeAllFromNamespaces(Collection<String> items)
-
getNamespace
public String getNamespace(int index)
-
getFirstNamespace
public String getFirstNamespace()
-
getLastNamespace
public String getLastNamespace()
-
hasNamespaces
public boolean hasNamespaces()
-
getTopologyKey
public String getTopologyKey()
-
hasTopologyKey
public boolean hasTopologyKey()
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends PodAffinityTermFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends PodAffinityTermFluent<A>>
-
-