public final class ManagedInstance
extends com.google.api.client.json.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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ManagedInstance() |
Modifier and Type | Method and Description |
---|---|
ManagedInstance |
clone() |
java.lang.String |
getCurrentAction()
The current action that the managed instance group has scheduled for the instance.
|
java.lang.Long |
getIncarnationId()
The unique identifier for this resource (empty when instance does not exist).
|
java.lang.String |
getInstance()
The URL of the instance (set even though instance does not exist yet).
|
java.lang.String |
getInstanceStatus()
The status of the instance (empty when instance does not exist).
|
ManagedInstanceLastAttempt |
getLastAttempt()
Information about the last attempt to create or delete the instance.
|
ManagedInstance |
set(java.lang.String fieldName,
java.lang.Object value) |
ManagedInstance |
setCurrentAction(java.lang.String currentAction)
The current action that the managed instance group has scheduled for the instance.
|
ManagedInstance |
setIncarnationId(java.lang.Long incarnationId)
The unique identifier for this resource (empty when instance does not exist).
|
ManagedInstance |
setInstance(java.lang.String instance)
The URL of the instance (set even though instance does not exist yet).
|
ManagedInstance |
setInstanceStatus(java.lang.String instanceStatus)
The status of the instance (empty when instance does not exist).
|
ManagedInstance |
setLastAttempt(ManagedInstanceLastAttempt lastAttempt)
Information about the last attempt to create or delete the instance.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getCurrentAction()
null
for nonepublic ManagedInstance setCurrentAction(java.lang.String currentAction)
currentAction
- currentAction or null
for nonepublic java.lang.Long getIncarnationId()
null
for nonepublic ManagedInstance setIncarnationId(java.lang.Long incarnationId)
incarnationId
- incarnationId or null
for nonepublic java.lang.String getInstance()
null
for nonepublic ManagedInstance setInstance(java.lang.String instance)
instance
- instance or null
for nonepublic java.lang.String getInstanceStatus()
null
for nonepublic ManagedInstance setInstanceStatus(java.lang.String instanceStatus)
instanceStatus
- instanceStatus or null
for nonepublic ManagedInstanceLastAttempt getLastAttempt()
null
for nonepublic ManagedInstance setLastAttempt(ManagedInstanceLastAttempt lastAttempt)
lastAttempt
- lastAttempt or null
for nonepublic ManagedInstance set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ManagedInstance clone()
clone
in class com.google.api.client.json.GenericJson