Package io.fabric8.kubernetes.api.model
Class PodAffinityTermFluentImpl<A extends PodAffinityTermFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PodAffinityTermFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,PodAffinityTermFluent<A>
- Direct Known Subclasses:
PodAffinityFluentImpl.RequiredDuringSchedulingIgnoredDuringExecutionNestedImpl,PodAffinityTermBuilder,PodAntiAffinityFluentImpl.RequiredDuringSchedulingIgnoredDuringExecutionNestedImpl,WatchEventFluentImpl.PodAffinityTermObjectNestedImpl,WeightedPodAffinityTermFluentImpl.PodAffinityTermNestedImpl
public class PodAffinityTermFluentImpl<A extends PodAffinityTermFluent<A>> extends BaseFluent<A> implements PodAffinityTermFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPodAffinityTermFluentImpl.LabelSelectorNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.PodAffinityTermFluent
PodAffinityTermFluent.LabelSelectorNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description PodAffinityTermFluentImpl()PodAffinityTermFluentImpl(PodAffinityTerm instance)
-
Method Summary
-
-
-
Constructor Detail
-
PodAffinityTermFluentImpl
public PodAffinityTermFluentImpl()
-
PodAffinityTermFluentImpl
public PodAffinityTermFluentImpl(PodAffinityTerm instance)
-
-
Method Detail
-
getLabelSelector
@Deprecated public LabelSelector getLabelSelector()
Deprecated.This method has been deprecated, please use method buildLabelSelector instead.- Specified by:
getLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>- Returns:
- The buildable object.
-
buildLabelSelector
public LabelSelector buildLabelSelector()
- Specified by:
buildLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withLabelSelector
public A withLabelSelector(LabelSelector labelSelector)
- Specified by:
withLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasLabelSelector
public Boolean hasLabelSelector()
- Specified by:
hasLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelector()
- Specified by:
withNewLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelectorLike(LabelSelector item)
- Specified by:
withNewLabelSelectorLikein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editLabelSelector()
- Specified by:
editLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editOrNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelector()
- Specified by:
editOrNewLabelSelectorin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editOrNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelectorLike(LabelSelector item)
- Specified by:
editOrNewLabelSelectorLikein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addToNamespaces
public A addToNamespaces(int index, String item)
- Specified by:
addToNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
setToNamespaces
public A setToNamespaces(int index, String item)
- Specified by:
setToNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addToNamespaces
public A addToNamespaces(String... items)
- Specified by:
addToNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addAllToNamespaces
public A addAllToNamespaces(Collection<String> items)
- Specified by:
addAllToNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
removeFromNamespaces
public A removeFromNamespaces(String... items)
- Specified by:
removeFromNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
removeAllFromNamespaces
public A removeAllFromNamespaces(Collection<String> items)
- Specified by:
removeAllFromNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getNamespaces
public List<String> getNamespaces()
- Specified by:
getNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getNamespace
public String getNamespace(int index)
- Specified by:
getNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getFirstNamespace
public String getFirstNamespace()
- Specified by:
getFirstNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getLastNamespace
public String getLastNamespace()
- Specified by:
getLastNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getMatchingNamespace
public String getMatchingNamespace(Predicate<String> predicate)
- Specified by:
getMatchingNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasMatchingNamespace
public Boolean hasMatchingNamespace(Predicate<String> predicate)
- Specified by:
hasMatchingNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNamespaces
public A withNamespaces(List<String> namespaces)
- Specified by:
withNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNamespaces
public A withNamespaces(String... namespaces)
- Specified by:
withNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasNamespaces
public Boolean hasNamespaces()
- Specified by:
hasNamespacesin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(String arg1)
- Specified by:
addNewNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(StringBuilder arg1)
- Specified by:
addNewNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(StringBuffer arg1)
- Specified by:
addNewNamespacein interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getTopologyKey
public String getTopologyKey()
- Specified by:
getTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withTopologyKey
public A withTopologyKey(String topologyKey)
- Specified by:
withTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasTopologyKey
public Boolean hasTopologyKey()
- Specified by:
hasTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(String arg1)
- Specified by:
withNewTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(StringBuilder arg1)
- Specified by:
withNewTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(StringBuffer arg1)
- Specified by:
withNewTopologyKeyin interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
-