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() |
String |
getInstanceRedistributionType()
The instance redistribution policy for regional managed instance groups.
|
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.
|
Integer |
getMinReadySec()
Minimum number of seconds to wait for after a newly created instance becomes available.
|
String |
getMostDisruptiveAllowedAction()
Most disruptive action that is allowed to be taken on an instance.
|
String |
getReplacementMethod()
What action should be used to replace instances.
|
String |
getType()
The type of update process.
|
InstanceGroupManagerUpdatePolicy |
set(String fieldName,
Object value) |
InstanceGroupManagerUpdatePolicy |
setInstanceRedistributionType(String instanceRedistributionType)
The instance redistribution policy for regional managed instance groups.
|
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 |
setMinReadySec(Integer minReadySec)
Minimum number of seconds to wait for after a newly created instance becomes available.
|
InstanceGroupManagerUpdatePolicy |
setMostDisruptiveAllowedAction(String mostDisruptiveAllowedAction)
Most disruptive action that is allowed to be taken on an instance.
|
InstanceGroupManagerUpdatePolicy |
setReplacementMethod(String replacementMethod)
What action should be used to replace instances.
|
InstanceGroupManagerUpdatePolicy |
setType(String type)
The type of update process.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getInstanceRedistributionType()
null for nonepublic InstanceGroupManagerUpdatePolicy setInstanceRedistributionType(String instanceRedistributionType)
instanceRedistributionType - instanceRedistributionType or null for nonepublic 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 Integer getMinReadySec()
null for nonepublic InstanceGroupManagerUpdatePolicy setMinReadySec(Integer minReadySec)
minReadySec - minReadySec or null for nonepublic String getMinimalAction()
null for nonepublic InstanceGroupManagerUpdatePolicy setMinimalAction(String minimalAction)
minimalAction - minimalAction or null for nonepublic String getMostDisruptiveAllowedAction()
null for nonepublic InstanceGroupManagerUpdatePolicy setMostDisruptiveAllowedAction(String mostDisruptiveAllowedAction)
mostDisruptiveAllowedAction - mostDisruptiveAllowedAction or null for nonepublic String getReplacementMethod()
null for nonepublic InstanceGroupManagerUpdatePolicy setReplacementMethod(String replacementMethod)
replacementMethod - replacementMethod 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–2021 Google. All rights reserved.