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, VISIT
Constructor and Description |
---|
V1PodAffinityTermFluentImpl() |
V1PodAffinityTermFluentImpl(io.kubernetes.client.openapi.models.V1PodAffinityTerm instance) |
accept, accept, acceptInternal, aggregate, aggregate, build, build, builderOf, canVisit, hasCompatibleVisitMethod
public V1PodAffinityTermFluentImpl()
public V1PodAffinityTermFluentImpl(io.kubernetes.client.openapi.models.V1PodAffinityTerm instance)
@Deprecated public io.kubernetes.client.openapi.models.V1LabelSelector getLabelSelector()
getLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public io.kubernetes.client.openapi.models.V1LabelSelector buildLabelSelector()
buildLabelSelector
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
public A withLabelSelector(io.kubernetes.client.openapi.models.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(io.kubernetes.client.openapi.models.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(io.kubernetes.client.openapi.models.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 original)
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>>
@Deprecated public A withNewTopologyKey(String original)
withNewTopologyKey
in interface V1PodAffinityTermFluent<A extends V1PodAffinityTermFluent<A>>
Copyright © 2021. All rights reserved.