public final class InstanceGroupManagerUpdatePolicy extends 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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
InstanceGroupManagerUpdatePolicy() |
| Modifier and Type | Method and Description |
|---|---|
InstanceGroupManagerUpdatePolicy |
clone() |
FixedOrPercent |
getMaxSurge()
The maximum number of instances that can be created above the specified targetSize during the
update process.
|
FixedOrPercent |
getMaxUnavailable()
The maximum number of instances that can be unavailable during the update process.
|
String |
getMinimalAction()
Minimal action to be taken on an instance.
|
String |
getType()
The type of update process.
|
InstanceGroupManagerUpdatePolicy |
set(String fieldName,
Object value) |
InstanceGroupManagerUpdatePolicy |
setMaxSurge(FixedOrPercent maxSurge)
The maximum number of instances that can be created above the specified targetSize during the
update process.
|
InstanceGroupManagerUpdatePolicy |
setMaxUnavailable(FixedOrPercent maxUnavailable)
The maximum number of instances that can be unavailable during the update process.
|
InstanceGroupManagerUpdatePolicy |
setMinimalAction(String minimalAction)
Minimal action to be taken on an instance.
|
InstanceGroupManagerUpdatePolicy |
setType(String type)
The type of update process.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic FixedOrPercent getMaxSurge()
null for nonepublic InstanceGroupManagerUpdatePolicy setMaxSurge(FixedOrPercent maxSurge)
maxSurge - maxSurge or null for nonepublic FixedOrPercent getMaxUnavailable()
null for nonepublic InstanceGroupManagerUpdatePolicy setMaxUnavailable(FixedOrPercent maxUnavailable)
maxUnavailable - maxUnavailable or null for nonepublic String getMinimalAction()
null for nonepublic InstanceGroupManagerUpdatePolicy setMinimalAction(String minimalAction)
minimalAction - minimalAction or null for nonepublic String getType()
null for nonepublic InstanceGroupManagerUpdatePolicy setType(String type)
type - type or null for nonepublic InstanceGroupManagerUpdatePolicy set(String fieldName, Object value)
set in class GenericJsonpublic InstanceGroupManagerUpdatePolicy clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.