public class PodAffinityTermFluentImpl<A extends PodAffinityTermFluent<A>> extends BaseFluent<A> implements PodAffinityTermFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodAffinityTermFluentImpl.LabelSelectorNestedImpl<N> |
PodAffinityTermFluent.LabelSelectorNested<N>
_visitables
Constructor and Description |
---|
PodAffinityTermFluentImpl() |
PodAffinityTermFluentImpl(PodAffinityTerm instance) |
public PodAffinityTermFluentImpl()
public PodAffinityTermFluentImpl(PodAffinityTerm instance)
@Deprecated public LabelSelector getLabelSelector()
getLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public LabelSelector buildLabelSelector()
buildLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A withLabelSelector(LabelSelector labelSelector)
withLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public Boolean hasLabelSelector()
hasLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelector()
withNewLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelectorLike(LabelSelector item)
withNewLabelSelectorLike
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public PodAffinityTermFluent.LabelSelectorNested<A> editLabelSelector()
editLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelector()
editOrNewLabelSelector
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelectorLike(LabelSelector item)
editOrNewLabelSelectorLike
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A addToNamespaces(int index, String item)
addToNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A setToNamespaces(int index, String item)
setToNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A addToNamespaces(String... items)
addToNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A addAllToNamespaces(Collection<String> items)
addAllToNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A removeFromNamespaces(String... items)
removeFromNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A removeAllFromNamespaces(Collection<String> items)
removeAllFromNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public List<String> getNamespaces()
getNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public String getNamespace(int index)
getNamespace
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public String getFirstNamespace()
getFirstNamespace
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public String getLastNamespace()
getLastNamespace
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public String getMatchingNamespace(Predicate<String> predicate)
getMatchingNamespace
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A withNamespaces(List<String> namespaces)
withNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A withNamespaces(String... namespaces)
withNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public Boolean hasNamespaces()
hasNamespaces
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public String getTopologyKey()
getTopologyKey
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public A withTopologyKey(String topologyKey)
withTopologyKey
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
public Boolean hasTopologyKey()
hasTopologyKey
in interface PodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.