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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ManagedInstance() |
Modifier and Type | Method and Description |
---|---|
ManagedInstance |
clone() |
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.
|
String |
getInstanceStatus()
[Output Only] The status of the instance.
|
ManagedInstanceLastAttempt |
getLastAttempt()
[Output Only] Information about the last attempt to create or delete the instance.
|
ManagedInstanceVersion |
getVersion()
[Output Only] Intended version of this instance.
|
ManagedInstance |
set(String fieldName,
Object value) |
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 |
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 |
setVersion(ManagedInstanceVersion version)
[Output Only] Intended version of this instance.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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 ManagedInstanceVersion getVersion()
null
for nonepublic ManagedInstance setVersion(ManagedInstanceVersion version)
version
- version or null
for nonepublic ManagedInstance set(String fieldName, Object value)
set
in class GenericJson
public ManagedInstance clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.