public class V1PodAffinityTermFluentImpl<A extends V1PodAffinityTermFluent<A>> extends BaseFluent<A> implements V1PodAffinityTermFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1PodAffinityTermFluentImpl.LabelSelectorNestedImpl<N> |
V1PodAffinityTermFluent.LabelSelectorNested<N>
_visitables
Constructor and Description |
---|
V1PodAffinityTermFluentImpl() |
V1PodAffinityTermFluentImpl(V1PodAffinityTerm instance) |
public V1PodAffinityTermFluentImpl()
public V1PodAffinityTermFluentImpl(V1PodAffinityTerm instance)
@Deprecated public V1LabelSelector getLabelSelector()
getLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1LabelSelector buildLabelSelector()
buildLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withLabelSelector(V1LabelSelector labelSelector)
withLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public Boolean hasLabelSelector()
hasLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelector()
withNewLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelectorLike(V1LabelSelector item)
withNewLabelSelectorLike
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1PodAffinityTermFluent.LabelSelectorNested<A> editLabelSelector()
editLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelector()
editOrNewLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public V1PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelectorLike(V1LabelSelector item)
editOrNewLabelSelectorLike
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addToNamespaces(int index, String item)
addToNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A setToNamespaces(int index, String item)
setToNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addToNamespaces(String... items)
addToNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addAllToNamespaces(Collection<String> items)
addAllToNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A removeFromNamespaces(String... items)
removeFromNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A removeAllFromNamespaces(Collection<String> items)
removeAllFromNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public List<String> getNamespaces()
getNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public String getNamespace(int index)
getNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public String getFirstNamespace()
getFirstNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public String getLastNamespace()
getLastNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public String getMatchingNamespace(Predicate<String> predicate)
getMatchingNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public Boolean hasMatchingNamespace(Predicate<String> predicate)
hasMatchingNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withNamespaces(List<String> namespaces)
withNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withNamespaces(String... namespaces)
withNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public Boolean hasNamespaces()
hasNamespaces
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addNewNamespace(String arg1)
addNewNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addNewNamespace(StringBuilder arg1)
addNewNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A addNewNamespace(StringBuffer arg1)
addNewNamespace
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public String getTopologyKey()
getTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withTopologyKey(String topologyKey)
withTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public Boolean hasTopologyKey()
hasTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withNewTopologyKey(String arg1)
withNewTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withNewTopologyKey(StringBuilder arg1)
withNewTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withNewTopologyKey(StringBuffer arg1)
withNewTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
Copyright © 2019. All rights reserved.