public static enum SchedulingOptions.Maintenance extends Enum<SchedulingOptions.Maintenance>
| Enum Constant and Description |
|---|
MIGRATE
The default behavior for standard instances.
|
TERMINATE
The default and only possible behavior for preemptible instances.
|
| Modifier and Type | Method and Description |
|---|---|
static SchedulingOptions.Maintenance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingOptions.Maintenance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingOptions.Maintenance MIGRATE
public static final SchedulingOptions.Maintenance TERMINATE
public static SchedulingOptions.Maintenance[] values()
for (SchedulingOptions.Maintenance c : SchedulingOptions.Maintenance.values()) System.out.println(c);
public static SchedulingOptions.Maintenance 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 © 2016 Google. All rights reserved.