public static enum InstanceInfo.Status extends Enum<InstanceInfo.Status>
Enum Constant and Description |
---|
PROVISIONING
Indicates that resources are being reserved for the instance.
|
RUNNING
Indicates that the instance is booting up or running.
|
STAGING
Indicates that resources have been acquired and the instance is being prepared for launch.
|
STOPPING
Indicates that the instance is being stopped either due to a failure, or the instance being
shut down.
|
TERMINATED
Indicates that the instance was shut down or encountered a failure, either through the API or
from inside the guest.
|
Modifier and Type | Method and Description |
---|---|
static InstanceInfo.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceInfo.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceInfo.Status PROVISIONING
public static final InstanceInfo.Status STAGING
public static final InstanceInfo.Status RUNNING
ssh
into
the instance soon, though not immediately, after it enters this state.public static final InstanceInfo.Status STOPPING
TERMINATED
.public static final InstanceInfo.Status TERMINATED
public static InstanceInfo.Status[] values()
for (InstanceInfo.Status c : InstanceInfo.Status.values()) System.out.println(c);
public static InstanceInfo.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Google LLC. All rights reserved.