public class NodeSpecFluentImpl<A extends NodeSpecFluent<A>> extends BaseFluent<A> implements NodeSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NodeSpecFluentImpl.TaintsNestedImpl<N> |
NodeSpecFluent.TaintsNested<N>
_visitables
Constructor and Description |
---|
NodeSpecFluentImpl() |
NodeSpecFluentImpl(NodeSpec instance) |
public NodeSpecFluentImpl()
public NodeSpecFluentImpl(NodeSpec instance)
public String getExternalID()
getExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withExternalID(String externalID)
withExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean hasExternalID()
hasExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public String getPodCIDR()
getPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withPodCIDR(String podCIDR)
withPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean hasPodCIDR()
hasPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public String getProviderID()
getProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withProviderID(String providerID)
withProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean hasProviderID()
hasProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A addToTaints(int index, Taint item)
addToTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A setToTaints(int index, Taint item)
setToTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A addToTaints(Taint... items)
addToTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A addAllToTaints(Collection<Taint> items)
addAllToTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A removeFromTaints(Taint... items)
removeFromTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A removeAllFromTaints(Collection<Taint> items)
removeAllFromTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
@Deprecated public List<Taint> getTaints()
getTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public List<Taint> buildTaints()
buildTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Taint buildTaint(int index)
buildTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Taint buildFirstTaint()
buildFirstTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Taint buildLastTaint()
buildLastTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Taint buildMatchingTaint(Predicate<TaintBuilder> predicate)
buildMatchingTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withTaints(List<Taint> taints)
withTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withTaints(Taint... taints)
withTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean hasTaints()
hasTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> addNewTaint()
addNewTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> addNewTaintLike(Taint item)
addNewTaintLike
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> setNewTaintLike(int index, Taint item)
setNewTaintLike
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> editTaint(int index)
editTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> editFirstTaint()
editFirstTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> editLastTaint()
editLastTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.TaintsNested<A> editMatchingTaint(Predicate<TaintBuilder> predicate)
editMatchingTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A addNewTaint(String effect, String key, String timeAdded, String value)
addNewTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean isUnschedulable()
isUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withUnschedulable(Boolean unschedulable)
withUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public Boolean hasUnschedulable()
hasUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.