public enum WorkerSizeOptions extends Enum<WorkerSizeOptions>
| Enum Constant and Description |
|---|
DEFAULT
Enum value Default.
|
LARGE
Enum value Large.
|
MEDIUM
Enum value Medium.
|
SMALL
Enum value Small.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkerSizeOptions |
fromString(String value)
Parses a serialized value to a WorkerSizeOptions instance.
|
String |
toString() |
static WorkerSizeOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerSizeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerSizeOptions DEFAULT
public static final WorkerSizeOptions SMALL
public static final WorkerSizeOptions MEDIUM
public static final WorkerSizeOptions LARGE
public static WorkerSizeOptions[] values()
for (WorkerSizeOptions c : WorkerSizeOptions.values()) System.out.println(c);
public static WorkerSizeOptions 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 static WorkerSizeOptions fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<WorkerSizeOptions>/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/