public final class NodePoolAutoscaling
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
NodePoolAutoscaling() |
Modifier and Type | Method and Description |
---|---|
NodePoolAutoscaling |
clone() |
java.lang.Boolean |
getAutoprovisioned()
Can this node pool be deleted automatically.
|
java.lang.Boolean |
getEnabled()
Is autoscaling enabled for this node pool.
|
java.lang.Integer |
getMaxNodeCount()
Maximum number of nodes in the NodePool.
|
java.lang.Integer |
getMinNodeCount()
Minimum number of nodes in the NodePool.
|
NodePoolAutoscaling |
set(java.lang.String fieldName,
java.lang.Object value) |
NodePoolAutoscaling |
setAutoprovisioned(java.lang.Boolean autoprovisioned)
Can this node pool be deleted automatically.
|
NodePoolAutoscaling |
setEnabled(java.lang.Boolean enabled)
Is autoscaling enabled for this node pool.
|
NodePoolAutoscaling |
setMaxNodeCount(java.lang.Integer maxNodeCount)
Maximum number of nodes in the NodePool.
|
NodePoolAutoscaling |
setMinNodeCount(java.lang.Integer minNodeCount)
Minimum number of nodes in the NodePool.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAutoprovisioned()
null
for nonepublic NodePoolAutoscaling setAutoprovisioned(java.lang.Boolean autoprovisioned)
autoprovisioned
- autoprovisioned or null
for nonepublic java.lang.Boolean getEnabled()
null
for nonepublic NodePoolAutoscaling setEnabled(java.lang.Boolean enabled)
enabled
- enabled or null
for nonepublic java.lang.Integer getMaxNodeCount()
null
for nonepublic NodePoolAutoscaling setMaxNodeCount(java.lang.Integer maxNodeCount)
maxNodeCount
- maxNodeCount or null
for nonepublic java.lang.Integer getMinNodeCount()
null
for nonepublic NodePoolAutoscaling setMinNodeCount(java.lang.Integer minNodeCount)
minNodeCount
- minNodeCount or null
for nonepublic NodePoolAutoscaling set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NodePoolAutoscaling clone()
clone
in class com.google.api.client.json.GenericJson