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 class
PodAffinityTermFluentImpl.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:
getLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
- Returns:
- The buildable object.
-
buildLabelSelector
public LabelSelector buildLabelSelector()
- Specified by:
buildLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withLabelSelector
public A withLabelSelector(LabelSelector labelSelector)
- Specified by:
withLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasLabelSelector
public Boolean hasLabelSelector()
- Specified by:
hasLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelector()
- Specified by:
withNewLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> withNewLabelSelectorLike(LabelSelector item)
- Specified by:
withNewLabelSelectorLike
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editLabelSelector()
- Specified by:
editLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editOrNewLabelSelector
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelector()
- Specified by:
editOrNewLabelSelector
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
editOrNewLabelSelectorLike
public PodAffinityTermFluent.LabelSelectorNested<A> editOrNewLabelSelectorLike(LabelSelector item)
- Specified by:
editOrNewLabelSelectorLike
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addToNamespaces
public A addToNamespaces(int index, String item)
- Specified by:
addToNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
setToNamespaces
public A setToNamespaces(int index, String item)
- Specified by:
setToNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addToNamespaces
public A addToNamespaces(String... items)
- Specified by:
addToNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addAllToNamespaces
public A addAllToNamespaces(Collection<String> items)
- Specified by:
addAllToNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
removeFromNamespaces
public A removeFromNamespaces(String... items)
- Specified by:
removeFromNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
removeAllFromNamespaces
public A removeAllFromNamespaces(Collection<String> items)
- Specified by:
removeAllFromNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getNamespaces
public List<String> getNamespaces()
- Specified by:
getNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getNamespace
public String getNamespace(int index)
- Specified by:
getNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getFirstNamespace
public String getFirstNamespace()
- Specified by:
getFirstNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getLastNamespace
public String getLastNamespace()
- Specified by:
getLastNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getMatchingNamespace
public String getMatchingNamespace(Predicate<String> predicate)
- Specified by:
getMatchingNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasMatchingNamespace
public Boolean hasMatchingNamespace(Predicate<String> predicate)
- Specified by:
hasMatchingNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNamespaces
public A withNamespaces(List<String> namespaces)
- Specified by:
withNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNamespaces
public A withNamespaces(String... namespaces)
- Specified by:
withNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasNamespaces
public Boolean hasNamespaces()
- Specified by:
hasNamespaces
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(String arg1)
- Specified by:
addNewNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(StringBuilder arg1)
- Specified by:
addNewNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
addNewNamespace
public A addNewNamespace(StringBuffer arg1)
- Specified by:
addNewNamespace
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
getTopologyKey
public String getTopologyKey()
- Specified by:
getTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withTopologyKey
public A withTopologyKey(String topologyKey)
- Specified by:
withTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
hasTopologyKey
public Boolean hasTopologyKey()
- Specified by:
hasTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(String arg1)
- Specified by:
withNewTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(StringBuilder arg1)
- Specified by:
withNewTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
withNewTopologyKey
public A withNewTopologyKey(StringBuffer arg1)
- Specified by:
withNewTopologyKey
in interfacePodAffinityTermFluent<A extends PodAffinityTermFluent<A>>
-
-