public class NodePool extends Object
| Constructor and Description |
|---|
NodePool() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getApiVersion()
API版本,固定值“v3”。
|
String |
getKind()
API类型,固定值“NodePool”。
|
NodePoolMetadata |
getMetadata()
Get metadata
|
NodePoolSpec |
getSpec()
Get spec
|
NodePoolStatus |
getStatus()
Get status
|
int |
hashCode() |
void |
setApiVersion(String apiVersion) |
void |
setKind(String kind) |
void |
setMetadata(NodePoolMetadata metadata) |
void |
setSpec(NodePoolSpec spec) |
void |
setStatus(NodePoolStatus status) |
String |
toString() |
NodePool |
withApiVersion(String apiVersion) |
NodePool |
withKind(String kind) |
NodePool |
withMetadata(java.util.function.Consumer<NodePoolMetadata> metadataSetter) |
NodePool |
withMetadata(NodePoolMetadata metadata) |
NodePool |
withSpec(java.util.function.Consumer<NodePoolSpec> specSetter) |
NodePool |
withSpec(NodePoolSpec spec) |
NodePool |
withStatus(java.util.function.Consumer<NodePoolStatus> statusSetter) |
NodePool |
withStatus(NodePoolStatus status) |
public String getKind()
public void setKind(String kind)
public String getApiVersion()
public void setApiVersion(String apiVersion)
public NodePool withMetadata(NodePoolMetadata metadata)
public NodePool withMetadata(java.util.function.Consumer<NodePoolMetadata> metadataSetter)
public NodePoolMetadata getMetadata()
public void setMetadata(NodePoolMetadata metadata)
public NodePool withSpec(NodePoolSpec spec)
public NodePool withSpec(java.util.function.Consumer<NodePoolSpec> specSetter)
public NodePoolSpec getSpec()
public void setSpec(NodePoolSpec spec)
public NodePool withStatus(NodePoolStatus status)
public NodePool withStatus(java.util.function.Consumer<NodePoolStatus> statusSetter)
public NodePoolStatus getStatus()
public void setStatus(NodePoolStatus status)
Copyright © 2022. All rights reserved.