public final class InstanceGroupManagerAutoHealingPolicy 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 |
|---|
InstanceGroupManagerAutoHealingPolicy() |
| Modifier and Type | Method and Description |
|---|---|
InstanceGroupManagerAutoHealingPolicy |
clone() |
String |
getHealthCheck()
The URL for the health check that signals autohealing.
|
Integer |
getInitialDelaySec()
The number of seconds that the managed instance group waits before it applies autohealing
policies to new instances or recently recreated instances.
|
InstanceGroupManagerAutoHealingPolicy |
set(String fieldName,
Object value) |
InstanceGroupManagerAutoHealingPolicy |
setHealthCheck(String healthCheck)
The URL for the health check that signals autohealing.
|
InstanceGroupManagerAutoHealingPolicy |
setInitialDelaySec(Integer initialDelaySec)
The number of seconds that the managed instance group waits before it applies autohealing
policies to new instances or recently recreated instances.
|
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 InstanceGroupManagerAutoHealingPolicy()
public String getHealthCheck()
null for nonepublic InstanceGroupManagerAutoHealingPolicy setHealthCheck(String healthCheck)
healthCheck - healthCheck or null for nonepublic Integer getInitialDelaySec()
null for nonepublic InstanceGroupManagerAutoHealingPolicy setInitialDelaySec(Integer initialDelaySec)
initialDelaySec - initialDelaySec or null for nonepublic InstanceGroupManagerAutoHealingPolicy set(String fieldName, Object value)
set in class GenericJsonpublic InstanceGroupManagerAutoHealingPolicy clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.