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 classNodeSpecFluentImpl.ConfigSourceNestedImpl<N>classNodeSpecFluentImpl.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:
getConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>- Returns:
- The buildable object.
-
buildConfigSource
public NodeConfigSource buildConfigSource()
- Specified by:
buildConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withConfigSource
public A withConfigSource(NodeConfigSource configSource)
- Specified by:
withConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasConfigSource
public Boolean hasConfigSource()
- Specified by:
hasConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewConfigSource
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSource()
- Specified by:
withNewConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewConfigSourceLike
public NodeSpecFluent.ConfigSourceNested<A> withNewConfigSourceLike(NodeConfigSource item)
- Specified by:
withNewConfigSourceLikein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editConfigSource
public NodeSpecFluent.ConfigSourceNested<A> editConfigSource()
- Specified by:
editConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editOrNewConfigSource
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSource()
- Specified by:
editOrNewConfigSourcein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editOrNewConfigSourceLike
public NodeSpecFluent.ConfigSourceNested<A> editOrNewConfigSourceLike(NodeConfigSource item)
- Specified by:
editOrNewConfigSourceLikein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getExternalID
public String getExternalID()
- Specified by:
getExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withExternalID
public A withExternalID(String externalID)
- Specified by:
withExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasExternalID
public Boolean hasExternalID()
- Specified by:
hasExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(String arg1)
- Specified by:
withNewExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(StringBuilder arg1)
- Specified by:
withNewExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewExternalID
public A withNewExternalID(StringBuffer arg1)
- Specified by:
withNewExternalIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDR
public String getPodCIDR()
- Specified by:
getPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDR
public A withPodCIDR(String podCIDR)
- Specified by:
withPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasPodCIDR
public Boolean hasPodCIDR()
- Specified by:
hasPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(String arg1)
- Specified by:
withNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(StringBuilder arg1)
- Specified by:
withNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewPodCIDR
public A withNewPodCIDR(StringBuffer arg1)
- Specified by:
withNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToPodCIDRs
public A addToPodCIDRs(int index, String item)
- Specified by:
addToPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setToPodCIDRs
public A setToPodCIDRs(int index, String item)
- Specified by:
setToPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToPodCIDRs
public A addToPodCIDRs(String... items)
- Specified by:
addToPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addAllToPodCIDRs
public A addAllToPodCIDRs(Collection<String> items)
- Specified by:
addAllToPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeFromPodCIDRs
public A removeFromPodCIDRs(String... items)
- Specified by:
removeFromPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeAllFromPodCIDRs
public A removeAllFromPodCIDRs(Collection<String> items)
- Specified by:
removeAllFromPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDRs
public List<String> getPodCIDRs()
- Specified by:
getPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getPodCIDR
public String getPodCIDR(int index)
- Specified by:
getPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getFirstPodCIDR
public String getFirstPodCIDR()
- Specified by:
getFirstPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getLastPodCIDR
public String getLastPodCIDR()
- Specified by:
getLastPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getMatchingPodCIDR
public String getMatchingPodCIDR(Predicate<String> predicate)
- Specified by:
getMatchingPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasMatchingPodCIDR
public Boolean hasMatchingPodCIDR(Predicate<String> predicate)
- Specified by:
hasMatchingPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDRs
public A withPodCIDRs(List<String> podCIDRs)
- Specified by:
withPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withPodCIDRs
public A withPodCIDRs(String... podCIDRs)
- Specified by:
withPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasPodCIDRs
public Boolean hasPodCIDRs()
- Specified by:
hasPodCIDRsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(String arg1)
- Specified by:
addNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(StringBuilder arg1)
- Specified by:
addNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewPodCIDR
public A addNewPodCIDR(StringBuffer arg1)
- Specified by:
addNewPodCIDRin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getProviderID
public String getProviderID()
- Specified by:
getProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withProviderID
public A withProviderID(String providerID)
- Specified by:
withProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasProviderID
public Boolean hasProviderID()
- Specified by:
hasProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(String arg1)
- Specified by:
withNewProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(StringBuilder arg1)
- Specified by:
withNewProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewProviderID
public A withNewProviderID(StringBuffer arg1)
- Specified by:
withNewProviderIDin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToTaints
public A addToTaints(int index, Taint item)
- Specified by:
addToTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setToTaints
public A setToTaints(int index, Taint item)
- Specified by:
setToTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addToTaints
public A addToTaints(Taint... items)
- Specified by:
addToTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addAllToTaints
public A addAllToTaints(Collection<Taint> items)
- Specified by:
addAllToTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeFromTaints
public A removeFromTaints(Taint... items)
- Specified by:
removeFromTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeAllFromTaints
public A removeAllFromTaints(Collection<Taint> items)
- Specified by:
removeAllFromTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
removeMatchingFromTaints
public A removeMatchingFromTaints(Predicate<TaintBuilder> predicate)
- Specified by:
removeMatchingFromTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
getTaints
@Deprecated public List<Taint> getTaints()
Deprecated.This method has been deprecated, please use method buildTaints instead.- Specified by:
getTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>- Returns:
- The buildable object.
-
buildTaints
public List<Taint> buildTaints()
- Specified by:
buildTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildTaint
public Taint buildTaint(int index)
- Specified by:
buildTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildFirstTaint
public Taint buildFirstTaint()
- Specified by:
buildFirstTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildLastTaint
public Taint buildLastTaint()
- Specified by:
buildLastTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
buildMatchingTaint
public Taint buildMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
buildMatchingTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasMatchingTaint
public Boolean hasMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
hasMatchingTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withTaints
public A withTaints(List<Taint> taints)
- Specified by:
withTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withTaints
public A withTaints(Taint... taints)
- Specified by:
withTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasTaints
public Boolean hasTaints()
- Specified by:
hasTaintsin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaint
public A addNewTaint(String effect, String key, String timeAdded, String value)
- Specified by:
addNewTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaint
public NodeSpecFluent.TaintsNested<A> addNewTaint()
- Specified by:
addNewTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
addNewTaintLike
public NodeSpecFluent.TaintsNested<A> addNewTaintLike(Taint item)
- Specified by:
addNewTaintLikein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
setNewTaintLike
public NodeSpecFluent.TaintsNested<A> setNewTaintLike(int index, Taint item)
- Specified by:
setNewTaintLikein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editTaint
public NodeSpecFluent.TaintsNested<A> editTaint(int index)
- Specified by:
editTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editFirstTaint
public NodeSpecFluent.TaintsNested<A> editFirstTaint()
- Specified by:
editFirstTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editLastTaint
public NodeSpecFluent.TaintsNested<A> editLastTaint()
- Specified by:
editLastTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
editMatchingTaint
public NodeSpecFluent.TaintsNested<A> editMatchingTaint(Predicate<TaintBuilder> predicate)
- Specified by:
editMatchingTaintin interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
isUnschedulable
public Boolean isUnschedulable()
- Specified by:
isUnschedulablein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withUnschedulable
public A withUnschedulable(Boolean unschedulable)
- Specified by:
withUnschedulablein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
hasUnschedulable
public Boolean hasUnschedulable()
- Specified by:
hasUnschedulablein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewUnschedulable
public A withNewUnschedulable(String arg1)
- Specified by:
withNewUnschedulablein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
withNewUnschedulable
public A withNewUnschedulable(boolean arg1)
- Specified by:
withNewUnschedulablein interfaceNodeSpecFluent<A extends NodeSpecFluent<A>>
-
-