public final class UpgradeSettings
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 |
|---|
UpgradeSettings() |
| Modifier and Type | Method and Description |
|---|---|
UpgradeSettings |
clone() |
java.lang.Integer |
getMaxSurge()
The maximum number of nodes that can be created beyond the current size of the node pool during
the upgrade process.
|
java.lang.Integer |
getMaxUnavailable()
The maximum number of nodes that can be simultaneously unavailable during the upgrade process.
|
UpgradeSettings |
set(java.lang.String fieldName,
java.lang.Object value) |
UpgradeSettings |
setMaxSurge(java.lang.Integer maxSurge)
The maximum number of nodes that can be created beyond the current size of the node pool during
the upgrade process.
|
UpgradeSettings |
setMaxUnavailable(java.lang.Integer maxUnavailable)
The maximum number of nodes that can be simultaneously unavailable during the upgrade process.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getMaxSurge()
null for nonepublic UpgradeSettings setMaxSurge(java.lang.Integer maxSurge)
maxSurge - maxSurge or null for nonepublic java.lang.Integer getMaxUnavailable()
null for nonepublic UpgradeSettings setMaxUnavailable(java.lang.Integer maxUnavailable)
maxUnavailable - maxUnavailable or null for nonepublic UpgradeSettings set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UpgradeSettings clone()
clone in class com.google.api.client.json.GenericJson