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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public InstanceGroupManagerAutoHealingPolicy clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.