public class PodAntiAffinityFluentImpl<A extends PodAntiAffinityFluent<A>> extends BaseFluent<A> implements PodAntiAffinityFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodAntiAffinityFluentImpl.PreferredDuringSchedulingIgnoredDuringExecutionNestedImpl<N> |
class |
PodAntiAffinityFluentImpl.RequiredDuringSchedulingIgnoredDuringExecutionNestedImpl<N> |
PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<N>, PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<N>
_visitables
Constructor and Description |
---|
PodAntiAffinityFluentImpl() |
PodAntiAffinityFluentImpl(PodAntiAffinity instance) |
public PodAntiAffinityFluentImpl()
public PodAntiAffinityFluentImpl(PodAntiAffinity instance)
public A addToPreferredDuringSchedulingIgnoredDuringExecution(int index, WeightedPodAffinityTerm item)
addToPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A setToPreferredDuringSchedulingIgnoredDuringExecution(int index, WeightedPodAffinityTerm item)
setToPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A addToPreferredDuringSchedulingIgnoredDuringExecution(WeightedPodAffinityTerm... items)
addToPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A addAllToPreferredDuringSchedulingIgnoredDuringExecution(Collection<WeightedPodAffinityTerm> items)
addAllToPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeFromPreferredDuringSchedulingIgnoredDuringExecution(WeightedPodAffinityTerm... items)
removeFromPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeAllFromPreferredDuringSchedulingIgnoredDuringExecution(Collection<WeightedPodAffinityTerm> items)
removeAllFromPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeMatchingFromPreferredDuringSchedulingIgnoredDuringExecution(Predicate<WeightedPodAffinityTermBuilder> predicate)
removeMatchingFromPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
@Deprecated public List<WeightedPodAffinityTerm> getPreferredDuringSchedulingIgnoredDuringExecution()
getPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public List<WeightedPodAffinityTerm> buildPreferredDuringSchedulingIgnoredDuringExecution()
buildPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public WeightedPodAffinityTerm buildPreferredDuringSchedulingIgnoredDuringExecution(int index)
buildPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public WeightedPodAffinityTerm buildFirstPreferredDuringSchedulingIgnoredDuringExecution()
buildFirstPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public WeightedPodAffinityTerm buildLastPreferredDuringSchedulingIgnoredDuringExecution()
buildLastPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public WeightedPodAffinityTerm buildMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate<WeightedPodAffinityTermBuilder> predicate)
buildMatchingPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public Boolean hasMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate<WeightedPodAffinityTermBuilder> predicate)
hasMatchingPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A withPreferredDuringSchedulingIgnoredDuringExecution(List<WeightedPodAffinityTerm> preferredDuringSchedulingIgnoredDuringExecution)
withPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A withPreferredDuringSchedulingIgnoredDuringExecution(WeightedPodAffinityTerm... preferredDuringSchedulingIgnoredDuringExecution)
withPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public Boolean hasPreferredDuringSchedulingIgnoredDuringExecution()
hasPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> addNewPreferredDuringSchedulingIgnoredDuringExecution()
addNewPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> addNewPreferredDuringSchedulingIgnoredDuringExecutionLike(WeightedPodAffinityTerm item)
addNewPreferredDuringSchedulingIgnoredDuringExecutionLike
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> setNewPreferredDuringSchedulingIgnoredDuringExecutionLike(int index, WeightedPodAffinityTerm item)
setNewPreferredDuringSchedulingIgnoredDuringExecutionLike
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> editPreferredDuringSchedulingIgnoredDuringExecution(int index)
editPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> editFirstPreferredDuringSchedulingIgnoredDuringExecution()
editFirstPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> editLastPreferredDuringSchedulingIgnoredDuringExecution()
editLastPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.PreferredDuringSchedulingIgnoredDuringExecutionNested<A> editMatchingPreferredDuringSchedulingIgnoredDuringExecution(Predicate<WeightedPodAffinityTermBuilder> predicate)
editMatchingPreferredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A addToRequiredDuringSchedulingIgnoredDuringExecution(int index, PodAffinityTerm item)
addToRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A setToRequiredDuringSchedulingIgnoredDuringExecution(int index, PodAffinityTerm item)
setToRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A addToRequiredDuringSchedulingIgnoredDuringExecution(PodAffinityTerm... items)
addToRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A addAllToRequiredDuringSchedulingIgnoredDuringExecution(Collection<PodAffinityTerm> items)
addAllToRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeFromRequiredDuringSchedulingIgnoredDuringExecution(PodAffinityTerm... items)
removeFromRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeAllFromRequiredDuringSchedulingIgnoredDuringExecution(Collection<PodAffinityTerm> items)
removeAllFromRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A removeMatchingFromRequiredDuringSchedulingIgnoredDuringExecution(Predicate<PodAffinityTermBuilder> predicate)
removeMatchingFromRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
@Deprecated public List<PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecution()
getRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public List<PodAffinityTerm> buildRequiredDuringSchedulingIgnoredDuringExecution()
buildRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAffinityTerm buildRequiredDuringSchedulingIgnoredDuringExecution(int index)
buildRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAffinityTerm buildFirstRequiredDuringSchedulingIgnoredDuringExecution()
buildFirstRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAffinityTerm buildLastRequiredDuringSchedulingIgnoredDuringExecution()
buildLastRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAffinityTerm buildMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate<PodAffinityTermBuilder> predicate)
buildMatchingRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public Boolean hasMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate<PodAffinityTermBuilder> predicate)
hasMatchingRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A withRequiredDuringSchedulingIgnoredDuringExecution(List<PodAffinityTerm> requiredDuringSchedulingIgnoredDuringExecution)
withRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public A withRequiredDuringSchedulingIgnoredDuringExecution(PodAffinityTerm... requiredDuringSchedulingIgnoredDuringExecution)
withRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public Boolean hasRequiredDuringSchedulingIgnoredDuringExecution()
hasRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> addNewRequiredDuringSchedulingIgnoredDuringExecution()
addNewRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> addNewRequiredDuringSchedulingIgnoredDuringExecutionLike(PodAffinityTerm item)
addNewRequiredDuringSchedulingIgnoredDuringExecutionLike
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> setNewRequiredDuringSchedulingIgnoredDuringExecutionLike(int index, PodAffinityTerm item)
setNewRequiredDuringSchedulingIgnoredDuringExecutionLike
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> editRequiredDuringSchedulingIgnoredDuringExecution(int index)
editRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> editFirstRequiredDuringSchedulingIgnoredDuringExecution()
editFirstRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> editLastRequiredDuringSchedulingIgnoredDuringExecution()
editLastRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
public PodAntiAffinityFluent.RequiredDuringSchedulingIgnoredDuringExecutionNested<A> editMatchingRequiredDuringSchedulingIgnoredDuringExecution(Predicate<PodAffinityTermBuilder> predicate)
editMatchingRequiredDuringSchedulingIgnoredDuringExecution
in interface PodAntiAffinityFluent<A extends PodAntiAffinityFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.