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 Google 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 |
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 |
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, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic 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.GenericJsonpublic NodePoolAutoscaling clone()
clone in class com.google.api.client.json.GenericJson