public class NodeSpecFluentImpl<A extends NodeSpecFluent<A>> extends BaseFluent<A> implements NodeSpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NodeSpecFluentImpl.ConfigSourceNestedImpl<N> |
class |
NodeSpecFluentImpl.TaintsNestedImpl<N> |
NodeSpecFluent.ConfigSourceNested<N>, NodeSpecFluent.TaintsNested<N>
_visitables
Constructor and Description |
---|
NodeSpecFluentImpl() |
NodeSpecFluentImpl(NodeSpec instance) |
public NodeSpecFluentImpl()
public NodeSpecFluentImpl(NodeSpec instance)
@Deprecated public NodeConfigSource getConfigSource()
getConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeConfigSource buildConfigSource()
buildConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withConfigSource(NodeConfigSource configSource)
withConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.Boolean hasConfigSource()
hasConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSource()
withNewConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSourceLike(NodeConfigSource item)
withNewConfigSourceLike
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.ConfigSourceNested<A> editConfigSource()
editConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSource()
editOrNewConfigSource
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSourceLike(NodeConfigSource item)
editOrNewConfigSourceLike
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.String getExternalID()
getExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withExternalID(java.lang.String externalID)
withExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.Boolean hasExternalID()
hasExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewExternalID(java.lang.String arg1)
withNewExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewExternalID(java.lang.StringBuilder arg1)
withNewExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewExternalID(java.lang.StringBuffer arg1)
withNewExternalID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.String getPodCIDR()
getPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withPodCIDR(java.lang.String podCIDR)
withPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.Boolean hasPodCIDR()
hasPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewPodCIDR(java.lang.String arg1)
withNewPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewPodCIDR(java.lang.StringBuilder arg1)
withNewPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewPodCIDR(java.lang.StringBuffer arg1)
withNewPodCIDR
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.String getProviderID()
getProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withProviderID(java.lang.String providerID)
withProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.Boolean hasProviderID()
hasProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewProviderID(java.lang.String arg1)
withNewProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewProviderID(java.lang.StringBuilder arg1)
withNewProviderID
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewProviderID(java.lang.StringBuffer arg1)
withNewProviderID
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(java.util.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(java.util.Collection<Taint> items)
removeAllFromTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
@Deprecated public java.util.List<Taint> getTaints()
getTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.util.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 java.lang.Boolean hasMatchingTaint(Predicate<TaintBuilder> predicate)
hasMatchingTaint
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withTaints(java.util.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 java.lang.Boolean hasTaints()
hasTaints
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A addNewTaint(java.lang.String effect, java.lang.String key, java.lang.String timeAdded, java.lang.String value)
addNewTaint
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 java.lang.Boolean isUnschedulable()
isUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withUnschedulable(java.lang.Boolean unschedulable)
withUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public java.lang.Boolean hasUnschedulable()
hasUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewUnschedulable(java.lang.String arg1)
withNewUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public A withNewUnschedulable(boolean arg1)
withNewUnschedulable
in interface NodeSpecFluent<A extends NodeSpecFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.