public static final class SchedulingOptions.Maintenance
extends com.google.cloud.StringEnumValue
Modifier and Type | Field and Description |
---|---|
static SchedulingOptions.Maintenance |
MIGRATE
The default behavior for standard instances.
|
static SchedulingOptions.Maintenance |
TERMINATE
The default and only possible behavior for preemptible instances.
|
Modifier and Type | Method and Description |
---|---|
static SchedulingOptions.Maintenance |
valueOf(String constant)
Get the Maintenance for the given String constant, and allow unrecognized values.
|
static SchedulingOptions.Maintenance |
valueOfStrict(String constant)
Get the Maintenance for the given String constant, and throw an exception if the constant is
not recognized.
|
static SchedulingOptions.Maintenance[] |
values()
Return the known values for Maintenance.
|
public static final SchedulingOptions.Maintenance MIGRATE
public static final SchedulingOptions.Maintenance TERMINATE
public static SchedulingOptions.Maintenance valueOfStrict(String constant)
public static SchedulingOptions.Maintenance valueOf(String constant)
public static SchedulingOptions.Maintenance[] values()
Copyright © 2019 Google LLC. All rights reserved.