public class NodeFluentImpl<T extends NodeFluent<T>> extends BaseFluent<T> implements NodeFluent<T>
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) |
public NodeFluentImpl()
public NodeFluentImpl(Node instance)
public Node.ApiVersion getApiVersion()
getApiVersion
in interface NodeFluent<T extends NodeFluent<T>>
public T withApiVersion(Node.ApiVersion apiVersion)
withApiVersion
in interface NodeFluent<T extends NodeFluent<T>>
public String getKind()
getKind
in interface NodeFluent<T extends NodeFluent<T>>
public T withKind(String kind)
withKind
in interface NodeFluent<T extends NodeFluent<T>>
public ObjectMeta getMetadata()
getMetadata
in interface NodeFluent<T extends NodeFluent<T>>
public T withMetadata(ObjectMeta metadata)
withMetadata
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.MetadataNested<T> withNewMetadata()
withNewMetadata
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.MetadataNested<T> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.MetadataNested<T> editMetadata()
editMetadata
in interface NodeFluent<T extends NodeFluent<T>>
public NodeSpec getSpec()
getSpec
in interface NodeFluent<T extends NodeFluent<T>>
public T withSpec(NodeSpec spec)
withSpec
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.SpecNested<T> withNewSpec()
withNewSpec
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.SpecNested<T> withNewSpecLike(NodeSpec item)
withNewSpecLike
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.SpecNested<T> editSpec()
editSpec
in interface NodeFluent<T extends NodeFluent<T>>
public T withNewSpec(String externalID, String podCIDR, String providerID, Boolean unschedulable)
withNewSpec
in interface NodeFluent<T extends NodeFluent<T>>
public NodeStatus getStatus()
getStatus
in interface NodeFluent<T extends NodeFluent<T>>
public T withStatus(NodeStatus status)
withStatus
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.StatusNested<T> withNewStatus()
withNewStatus
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.StatusNested<T> withNewStatusLike(NodeStatus item)
withNewStatusLike
in interface NodeFluent<T extends NodeFluent<T>>
public NodeFluent.StatusNested<T> editStatus()
editStatus
in interface NodeFluent<T extends NodeFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface NodeFluent<T extends NodeFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.