public static enum Instance.Scheduling.OnHostMaintenance extends Enum<Instance.Scheduling.OnHostMaintenance>
Enum Constant and Description |
---|
MIGRATE
Allows Compute Engine to automatically migrate instances out of the way of maintenance events.
|
TERMINATE
Allows Compute Engine to terminate and restart the instance away from the maintenance activity.
|
Modifier and Type | Method and Description |
---|---|
static Instance.Scheduling.OnHostMaintenance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Scheduling.OnHostMaintenance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Scheduling.OnHostMaintenance MIGRATE
public static final Instance.Scheduling.OnHostMaintenance TERMINATE
public static Instance.Scheduling.OnHostMaintenance[] values()
for (Instance.Scheduling.OnHostMaintenance c : Instance.Scheduling.OnHostMaintenance.values()) System.out.println(c);
public static Instance.Scheduling.OnHostMaintenance 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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.