@Deprecated public static enum DataflowPipelineWorkerPoolOptions.TeardownPolicy extends Enum<DataflowPipelineWorkerPoolOptions.TeardownPolicy>
Enum Constant and Description |
---|
TEARDOWN_ALWAYS
Deprecated.
All VMs created for a Dataflow job are deleted when the job finishes, regardless of whether
it fails or succeeds.
|
TEARDOWN_NEVER
Deprecated.
All VMs created for a Dataflow job are left running when the job finishes, regardless of
whether it fails or succeeds.
|
TEARDOWN_ON_SUCCESS
Deprecated.
All VMs created for a Dataflow job are deleted when the job succeeds, but are left running
when it fails.
|
Modifier and Type | Method and Description |
---|---|
String |
getTeardownPolicyName()
Deprecated.
|
static DataflowPipelineWorkerPoolOptions.TeardownPolicy |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static DataflowPipelineWorkerPoolOptions.TeardownPolicy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataflowPipelineWorkerPoolOptions.TeardownPolicy TEARDOWN_ALWAYS
public static final DataflowPipelineWorkerPoolOptions.TeardownPolicy TEARDOWN_NEVER
public static final DataflowPipelineWorkerPoolOptions.TeardownPolicy TEARDOWN_ON_SUCCESS
public static DataflowPipelineWorkerPoolOptions.TeardownPolicy[] values()
for (DataflowPipelineWorkerPoolOptions.TeardownPolicy c : DataflowPipelineWorkerPoolOptions.TeardownPolicy.values()) System.out.println(c);
public static DataflowPipelineWorkerPoolOptions.TeardownPolicy 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 nullpublic String getTeardownPolicyName()