public class NodeFluentImpl<A extends NodeFluent<A>> extends BaseFluent<A> implements NodeFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
NodeFluentImpl.MetadataNestedImpl<N> |
class |
NodeFluentImpl.SpecNestedImpl<N> |
class |
NodeFluentImpl.StatusNestedImpl<N> |
NodeFluent.MetadataNested<N>, NodeFluent.SpecNested<N>, NodeFluent.StatusNested<N>_visitables| Constructor and Description |
|---|
NodeFluentImpl() |
NodeFluentImpl(Node instance) |
| Modifier and Type | Method and Description |
|---|---|
NodeFluent.MetadataNested<A> |
editMetadata() |
NodeFluent.SpecNested<A> |
editSpec() |
NodeFluent.StatusNested<A> |
editStatus() |
boolean |
equals(Object o) |
String |
getApiVersion() |
String |
getKind() |
ObjectMeta |
getMetadata() |
NodeSpec |
getSpec() |
NodeStatus |
getStatus() |
A |
withApiVersion(String apiVersion) |
A |
withKind(String kind) |
A |
withMetadata(ObjectMeta metadata) |
NodeFluent.MetadataNested<A> |
withNewMetadata() |
NodeFluent.MetadataNested<A> |
withNewMetadataLike(ObjectMeta item) |
NodeFluent.SpecNested<A> |
withNewSpec() |
A |
withNewSpec(String externalID,
String podCIDR,
String providerID,
Boolean unschedulable) |
NodeFluent.SpecNested<A> |
withNewSpecLike(NodeSpec item) |
NodeFluent.StatusNested<A> |
withNewStatus() |
NodeFluent.StatusNested<A> |
withNewStatusLike(NodeStatus item) |
A |
withSpec(NodeSpec spec) |
A |
withStatus(NodeStatus status) |
public NodeFluentImpl()
public NodeFluentImpl(Node instance)
public String getApiVersion()
getApiVersion in interface NodeFluent<A extends NodeFluent<A>>public A withApiVersion(String apiVersion)
withApiVersion in interface NodeFluent<A extends NodeFluent<A>>public String getKind()
getKind in interface NodeFluent<A extends NodeFluent<A>>public A withKind(String kind)
withKind in interface NodeFluent<A extends NodeFluent<A>>public ObjectMeta getMetadata()
getMetadata in interface NodeFluent<A extends NodeFluent<A>>public A withMetadata(ObjectMeta metadata)
withMetadata in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.MetadataNested<A> withNewMetadata()
withNewMetadata in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.MetadataNested<A> editMetadata()
editMetadata in interface NodeFluent<A extends NodeFluent<A>>public NodeSpec getSpec()
getSpec in interface NodeFluent<A extends NodeFluent<A>>public A withSpec(NodeSpec spec)
withSpec in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.SpecNested<A> withNewSpec()
withNewSpec in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.SpecNested<A> withNewSpecLike(NodeSpec item)
withNewSpecLike in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.SpecNested<A> editSpec()
editSpec in interface NodeFluent<A extends NodeFluent<A>>public A withNewSpec(String externalID, String podCIDR, String providerID, Boolean unschedulable)
withNewSpec in interface NodeFluent<A extends NodeFluent<A>>public NodeStatus getStatus()
getStatus in interface NodeFluent<A extends NodeFluent<A>>public A withStatus(NodeStatus status)
withStatus in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.StatusNested<A> withNewStatus()
withNewStatus in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.StatusNested<A> withNewStatusLike(NodeStatus item)
withNewStatusLike in interface NodeFluent<A extends NodeFluent<A>>public NodeFluent.StatusNested<A> editStatus()
editStatus in interface NodeFluent<A extends NodeFluent<A>>Copyright © 2011–2016 Red Hat. All rights reserved.