Package io.fabric8.kubernetes.api.model
Class NodeFluentImpl<A extends NodeFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.NodeFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,NodeFluent<A>
- Direct Known Subclasses:
BaseKubernetesListFluentImpl.NodeItemsNestedImpl,KubeSchemaFluentImpl.NodeNestedImpl,NamedExtensionFluentImpl.NodeExtensionNestedImpl,NodeBuilder,NodeListFluentImpl.ItemsNestedImpl,WatchEventFluentImpl.NodeObjectNestedImpl
public class NodeFluentImpl<A extends NodeFluent<A>> extends BaseFluent<A> implements NodeFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classNodeFluentImpl.MetadataNestedImpl<N>classNodeFluentImpl.SpecNestedImpl<N>classNodeFluentImpl.StatusNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.NodeFluent
NodeFluent.MetadataNested<N>, NodeFluent.SpecNested<N>, NodeFluent.StatusNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description NodeFluentImpl()NodeFluentImpl(Node instance)
-
Method Summary
-
-
-
Constructor Detail
-
NodeFluentImpl
public NodeFluentImpl()
-
NodeFluentImpl
public NodeFluentImpl(Node instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceNodeFluent<A extends NodeFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceNodeFluent<A extends NodeFluent<A>>
-
getMetadata
@Deprecated public ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadatain interfaceNodeFluent<A extends NodeFluent<A>>- Returns:
- The buildable object.
-
buildMetadata
public ObjectMeta buildMetadata()
- Specified by:
buildMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
withMetadata
public A withMetadata(ObjectMeta metadata)
- Specified by:
withMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewMetadata
public NodeFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewMetadataLike
public NodeFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
- Specified by:
withNewMetadataLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
editMetadata
public NodeFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewMetadata
public NodeFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadatain interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewMetadataLike
public NodeFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
- Specified by:
editOrNewMetadataLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
getSpec
@Deprecated public NodeSpec getSpec()
Deprecated.This method has been deprecated, please use method buildSpec instead.- Specified by:
getSpecin interfaceNodeFluent<A extends NodeFluent<A>>- Returns:
- The buildable object.
-
buildSpec
public NodeSpec buildSpec()
- Specified by:
buildSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
withSpec
public A withSpec(NodeSpec spec)
- Specified by:
withSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
hasSpec
public Boolean hasSpec()
- Specified by:
hasSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewSpec
public NodeFluent.SpecNested<A> withNewSpec()
- Specified by:
withNewSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewSpecLike
public NodeFluent.SpecNested<A> withNewSpecLike(NodeSpec item)
- Specified by:
withNewSpecLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
editSpec
public NodeFluent.SpecNested<A> editSpec()
- Specified by:
editSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewSpec
public NodeFluent.SpecNested<A> editOrNewSpec()
- Specified by:
editOrNewSpecin interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewSpecLike
public NodeFluent.SpecNested<A> editOrNewSpecLike(NodeSpec item)
- Specified by:
editOrNewSpecLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
getStatus
@Deprecated public NodeStatus getStatus()
Deprecated.This method has been deprecated, please use method buildStatus instead.- Specified by:
getStatusin interfaceNodeFluent<A extends NodeFluent<A>>- Returns:
- The buildable object.
-
buildStatus
public NodeStatus buildStatus()
- Specified by:
buildStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
withStatus
public A withStatus(NodeStatus status)
- Specified by:
withStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
hasStatus
public Boolean hasStatus()
- Specified by:
hasStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewStatus
public NodeFluent.StatusNested<A> withNewStatus()
- Specified by:
withNewStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
withNewStatusLike
public NodeFluent.StatusNested<A> withNewStatusLike(NodeStatus item)
- Specified by:
withNewStatusLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
editStatus
public NodeFluent.StatusNested<A> editStatus()
- Specified by:
editStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewStatus
public NodeFluent.StatusNested<A> editOrNewStatus()
- Specified by:
editOrNewStatusin interfaceNodeFluent<A extends NodeFluent<A>>
-
editOrNewStatusLike
public NodeFluent.StatusNested<A> editOrNewStatusLike(NodeStatus item)
- Specified by:
editOrNewStatusLikein interfaceNodeFluent<A extends NodeFluent<A>>
-
-