public final class ManagedInstance 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 | 
|---|
| ManagedInstance() | 
| Modifier and Type | Method and Description | 
|---|---|
| ManagedInstance | clone() | 
| ManagedInstanceAllInstancesConfig | getAllInstancesConfig()[Output Only] Current all-instances configuration revision applied to this instance. | 
| String | getCurrentAction()[Output Only] The current action that the managed instance group has scheduled for the
 instance. | 
| BigInteger | getId()[Output only] The unique identifier for this resource. | 
| String | getInstance()[Output Only] The URL of the instance. | 
| List<ManagedInstanceInstanceHealth> | getInstanceHealth()[Output Only] Health state of the instance per health-check. | 
| String | getInstanceStatus()[Output Only] The status of the instance. | 
| ManagedInstanceLastAttempt | getLastAttempt()[Output Only] Information about the last attempt to create or delete the instance. | 
| PreservedState | getPreservedStateFromConfig()[Output Only] Preserved state applied from per-instance config for this instance. | 
| PreservedState | getPreservedStateFromPolicy()[Output Only] Preserved state generated based on stateful policy for this instance. | 
| ManagedInstanceVersion | getVersion()[Output Only] Intended version of this instance. | 
| ManagedInstance | set(String fieldName,
   Object value) | 
| ManagedInstance | setAllInstancesConfig(ManagedInstanceAllInstancesConfig allInstancesConfig)[Output Only] Current all-instances configuration revision applied to this instance. | 
| ManagedInstance | setCurrentAction(String currentAction)[Output Only] The current action that the managed instance group has scheduled for the
 instance. | 
| ManagedInstance | setId(BigInteger id)[Output only] The unique identifier for this resource. | 
| ManagedInstance | setInstance(String instance)[Output Only] The URL of the instance. | 
| ManagedInstance | setInstanceHealth(List<ManagedInstanceInstanceHealth> instanceHealth)[Output Only] Health state of the instance per health-check. | 
| ManagedInstance | setInstanceStatus(String instanceStatus)[Output Only] The status of the instance. | 
| ManagedInstance | setLastAttempt(ManagedInstanceLastAttempt lastAttempt)[Output Only] Information about the last attempt to create or delete the instance. | 
| ManagedInstance | setPreservedStateFromConfig(PreservedState preservedStateFromConfig)[Output Only] Preserved state applied from per-instance config for this instance. | 
| ManagedInstance | setPreservedStateFromPolicy(PreservedState preservedStateFromPolicy)[Output Only] Preserved state generated based on stateful policy for this instance. | 
| ManagedInstance | setVersion(ManagedInstanceVersion version)[Output Only] Intended version of this instance. | 
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 ManagedInstanceAllInstancesConfig getAllInstancesConfig()
null for nonepublic ManagedInstance setAllInstancesConfig(ManagedInstanceAllInstancesConfig allInstancesConfig)
allInstancesConfig - allInstancesConfig or null for nonepublic String getCurrentAction()
null for nonepublic ManagedInstance setCurrentAction(String currentAction)
currentAction - currentAction or null for nonepublic BigInteger getId()
null for nonepublic ManagedInstance setId(BigInteger id)
id - id or null for nonepublic String getInstance()
null for nonepublic ManagedInstance setInstance(String instance)
instance - instance or null for nonepublic List<ManagedInstanceInstanceHealth> getInstanceHealth()
null for nonepublic ManagedInstance setInstanceHealth(List<ManagedInstanceInstanceHealth> instanceHealth)
instanceHealth - instanceHealth or null for nonepublic String getInstanceStatus()
null for nonepublic ManagedInstance setInstanceStatus(String instanceStatus)
instanceStatus - instanceStatus or null for nonepublic ManagedInstanceLastAttempt getLastAttempt()
null for nonepublic ManagedInstance setLastAttempt(ManagedInstanceLastAttempt lastAttempt)
lastAttempt - lastAttempt or null for nonepublic PreservedState getPreservedStateFromConfig()
null for nonepublic ManagedInstance setPreservedStateFromConfig(PreservedState preservedStateFromConfig)
preservedStateFromConfig - preservedStateFromConfig or null for nonepublic PreservedState getPreservedStateFromPolicy()
null for nonepublic ManagedInstance setPreservedStateFromPolicy(PreservedState preservedStateFromPolicy)
preservedStateFromPolicy - preservedStateFromPolicy or null for nonepublic ManagedInstanceVersion getVersion()
null for nonepublic ManagedInstance setVersion(ManagedInstanceVersion version)
version - version or null for nonepublic ManagedInstance set(String fieldName, Object value)
set in class GenericJsonpublic ManagedInstance clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.