Package io.fabric8.kubernetes.api.model
Class NodeSpecFluentImpl<A extends NodeSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.NodeSpecFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,NodeSpecFluent<A>
- Direct Known Subclasses:
NodeFluentImpl.SpecNestedImpl
,NodeSpecBuilder
,WatchEventFluentImpl.NodeSpecObjectNestedImpl
public class NodeSpecFluentImpl<A extends NodeSpecFluent<A>> extends BaseFluent<A> implements NodeSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
NodeSpecFluentImpl.ConfigSourceNestedImpl<N>
class
NodeSpecFluentImpl.TaintsNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.NodeSpecFluent
NodeSpecFluent.ConfigSourceNested<N>, NodeSpecFluent.TaintsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description NodeSpecFluentImpl()
NodeSpecFluentImpl(NodeSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
NodeSpecFluentImpl
public NodeSpecFluentImpl()
-
NodeSpecFluentImpl
public NodeSpecFluentImpl(NodeSpec instance)
-
-
Method Detail
-
getConfigSource
@Deprecated public NodeConfigSource getConfigSource()
Deprecated.This method has been deprecated, please use method buildConfigSource instead.- Specified by:
getConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
- Returns:
- The buildable object.
-
buildConfigSource
public NodeConfigSource buildConfigSource()
- Specified by:
buildConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withConfigSource
public A withConfigSource(NodeConfigSource configSource)
- Specified by:
withConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasConfigSource
public Boolean hasConfigSource()
- Specified by:
hasConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewConfigSource
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSource()
- Specified by:
withNewConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewConfigSourceLike
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSourceLike(NodeConfigSource item)
- Specified by:
withNewConfigSourceLike
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editConfigSource
public NodeSpecFluent.ConfigSourceNested<A> editConfigSource()
- Specified by:
editConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editOrNewConfigSource
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSource()
- Specified by:
editOrNewConfigSource
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editOrNewConfigSourceLike
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSourceLike(NodeConfigSource item)
- Specified by:
editOrNewConfigSourceLike
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getExternalID
public String getExternalID()
- Specified by:
getExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withExternalID
public A withExternalID(String externalID)
- Specified by:
withExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasExternalID
public Boolean hasExternalID()
- Specified by:
hasExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(String arg1)
- Specified by:
withNewExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(StringBuilder arg1)
- Specified by:
withNewExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(StringBuffer arg1)
- Specified by:
withNewExternalID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDR
public String getPodCIDR()
- Specified by:
getPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDR
public A withPodCIDR(String podCIDR)
- Specified by:
withPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasPodCIDR
public Boolean hasPodCIDR()
- Specified by:
hasPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(String arg1)
- Specified by:
withNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(StringBuilder arg1)
- Specified by:
withNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(StringBuffer arg1)
- Specified by:
withNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToPodCIDRs
public A addToPodCIDRs(int index, String item)
- Specified by:
addToPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setToPodCIDRs
public A setToPodCIDRs(int index, String item)
- Specified by:
setToPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToPodCIDRs
public A addToPodCIDRs(String... items)
- Specified by:
addToPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addAllToPodCIDRs
public A addAllToPodCIDRs(Collection<String> items)
- Specified by:
addAllToPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeFromPodCIDRs
public A removeFromPodCIDRs(String... items)
- Specified by:
removeFromPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeAllFromPodCIDRs
public A removeAllFromPodCIDRs(Collection<String> items)
- Specified by:
removeAllFromPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDRs
public List<String> getPodCIDRs()
- Specified by:
getPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDR
public String getPodCIDR(int index)
- Specified by:
getPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getFirstPodCIDR
public String getFirstPodCIDR()
- Specified by:
getFirstPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getLastPodCIDR
public String getLastPodCIDR()
- Specified by:
getLastPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getMatchingPodCIDR
public String getMatchingPodCIDR(Predicate<String> predicate)
- Specified by:
getMatchingPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasMatchingPodCIDR
public Boolean hasMatchingPodCIDR(Predicate<String> predicate)
- Specified by:
hasMatchingPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDRs
public A withPodCIDRs(List<String> podCIDRs)
- Specified by:
withPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDRs
public A withPodCIDRs(String... podCIDRs)
- Specified by:
withPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasPodCIDRs
public Boolean hasPodCIDRs()
- Specified by:
hasPodCIDRs
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(String arg1)
- Specified by:
addNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(StringBuilder arg1)
- Specified by:
addNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(StringBuffer arg1)
- Specified by:
addNewPodCIDR
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getProviderID
public String getProviderID()
- Specified by:
getProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withProviderID
public A withProviderID(String providerID)
- Specified by:
withProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasProviderID
public Boolean hasProviderID()
- Specified by:
hasProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(String arg1)
- Specified by:
withNewProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(StringBuilder arg1)
- Specified by:
withNewProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(StringBuffer arg1)
- Specified by:
withNewProviderID
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToTaints
public A addToTaints(int index, Taint item)
- Specified by:
addToTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setToTaints
public A setToTaints(int index, Taint item)
- Specified by:
setToTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToTaints
public A addToTaints(Taint... items)
- Specified by:
addToTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addAllToTaints
public A addAllToTaints(Collection<Taint> items)
- Specified by:
addAllToTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeFromTaints
public A removeFromTaints(Taint... items)
- Specified by:
removeFromTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeAllFromTaints
public A removeAllFromTaints(Collection<Taint> items)
- Specified by:
removeAllFromTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeMatchingFromTaints
public A removeMatchingFromTaints(Predicate<TaintBuilder> predicate)
- Specified by:
removeMatchingFromTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getTaints
@Deprecated public List<Taint> getTaints()
Deprecated.This method has been deprecated, please use method buildTaints instead.- Specified by:
getTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
- Returns:
- The buildable object.
-
buildTaints
public List<Taint> buildTaints()
- Specified by:
buildTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildTaint
public Taint buildTaint(int index)
- Specified by:
buildTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildFirstTaint
public Taint buildFirstTaint()
- Specified by:
buildFirstTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildLastTaint
public Taint buildLastTaint()
- Specified by:
buildLastTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildMatchingTaint
public Taint buildMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
buildMatchingTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasMatchingTaint
public Boolean hasMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
hasMatchingTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withTaints
public A withTaints(List<Taint> taints)
- Specified by:
withTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withTaints
public A withTaints(Taint... taints)
- Specified by:
withTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasTaints
public Boolean hasTaints()
- Specified by:
hasTaints
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaint
public A addNewTaint(String effect, String key, String timeAdded, String value)
- Specified by:
addNewTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaint
public NodeSpecFluent.TaintsNested<A> addNewTaint()
- Specified by:
addNewTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaintLike
public NodeSpecFluent.TaintsNested<A> addNewTaintLike(Taint item)
- Specified by:
addNewTaintLike
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setNewTaintLike
public NodeSpecFluent.TaintsNested<A> setNewTaintLike(int index, Taint item)
- Specified by:
setNewTaintLike
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editTaint
public NodeSpecFluent.TaintsNested<A> editTaint(int index)
- Specified by:
editTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editFirstTaint
public NodeSpecFluent.TaintsNested<A> editFirstTaint()
- Specified by:
editFirstTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editLastTaint
public NodeSpecFluent.TaintsNested<A> editLastTaint()
- Specified by:
editLastTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editMatchingTaint
public NodeSpecFluent.TaintsNested<A> editMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
editMatchingTaint
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
isUnschedulable
public Boolean isUnschedulable()
- Specified by:
isUnschedulable
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withUnschedulable
public A withUnschedulable(Boolean unschedulable)
- Specified by:
withUnschedulable
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasUnschedulable
public Boolean hasUnschedulable()
- Specified by:
hasUnschedulable
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewUnschedulable
public A withNewUnschedulable(String arg1)
- Specified by:
withNewUnschedulable
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewUnschedulable
public A withNewUnschedulable(boolean arg1)
- Specified by:
withNewUnschedulable
in interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
-