public class V1alpha1SchedulingFluentImpl<A extends V1alpha1SchedulingFluent<A>> extends BaseFluent<A> implements V1alpha1SchedulingFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
V1alpha1SchedulingFluentImpl.TolerationsNestedImpl<N> |
V1alpha1SchedulingFluent.TolerationsNested<N>
_visitables
Constructor and Description |
---|
V1alpha1SchedulingFluentImpl() |
V1alpha1SchedulingFluentImpl(V1alpha1Scheduling instance) |
public V1alpha1SchedulingFluentImpl()
public V1alpha1SchedulingFluentImpl(V1alpha1Scheduling instance)
public A addToNodeSelector(String key, String value)
addToNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A addToNodeSelector(Map<String,String> map)
addToNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A removeFromNodeSelector(String key)
removeFromNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A removeFromNodeSelector(Map<String,String> map)
removeFromNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public Map<String,String> getNodeSelector()
getNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A withNodeSelector(Map<String,String> nodeSelector)
withNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public Boolean hasNodeSelector()
hasNodeSelector
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A addToTolerations(int index, V1Toleration item)
addToTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A setToTolerations(int index, V1Toleration item)
setToTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A addToTolerations(V1Toleration... items)
addToTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A addAllToTolerations(Collection<V1Toleration> items)
addAllToTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A removeFromTolerations(V1Toleration... items)
removeFromTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A removeAllFromTolerations(Collection<V1Toleration> items)
removeAllFromTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A removeMatchingFromTolerations(Predicate<V1TolerationBuilder> predicate)
removeMatchingFromTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
@Deprecated public List<V1Toleration> getTolerations()
getTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public List<V1Toleration> buildTolerations()
buildTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1Toleration buildToleration(int index)
buildToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1Toleration buildFirstToleration()
buildFirstToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1Toleration buildLastToleration()
buildLastToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1Toleration buildMatchingToleration(Predicate<V1TolerationBuilder> predicate)
buildMatchingToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public Boolean hasMatchingToleration(Predicate<V1TolerationBuilder> predicate)
hasMatchingToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A withTolerations(List<V1Toleration> tolerations)
withTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public A withTolerations(V1Toleration... tolerations)
withTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public Boolean hasTolerations()
hasTolerations
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> addNewToleration()
addNewToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> addNewTolerationLike(V1Toleration item)
addNewTolerationLike
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> setNewTolerationLike(int index, V1Toleration item)
setNewTolerationLike
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> editToleration(int index)
editToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> editFirstToleration()
editFirstToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> editLastToleration()
editLastToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
public V1alpha1SchedulingFluent.TolerationsNested<A> editMatchingToleration(Predicate<V1TolerationBuilder> predicate)
editMatchingToleration
in interface V1alpha1SchedulingFluent<A extends V1alpha1SchedulingFluent<A>>
Copyright © 2020. All rights reserved.