Enum WorkerSizeOptions
- All Implemented Interfaces:
Serializable
,Comparable<WorkerSizeOptions>
,java.lang.constant.Constable
Defines values for WorkerSizeOptions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value D1.Enum value D2.Enum value D3.Enum value Default.Enum value Large.Enum value LargeV3.Enum value Medium.Enum value MediumV3.Enum value NestedSmall.Enum value NestedSmallLinux.Enum value Small.Enum value SmallV3. -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkerSizeOptions
fromString
(String value) Parses a serialized value to a WorkerSizeOptions instance.toString()
static WorkerSizeOptions
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.
-
Enum Constant Details
-
SMALL
Enum value Small. -
MEDIUM
Enum value Medium. -
LARGE
Enum value Large. -
D1
Enum value D1. -
D2
Enum value D2. -
D3
Enum value D3. -
SMALL_V3
Enum value SmallV3. -
MEDIUM_V3
Enum value MediumV3. -
LARGE_V3
Enum value LargeV3. -
NESTED_SMALL
Enum value NestedSmall. -
NESTED_SMALL_LINUX
Enum value NestedSmallLinux. -
DEFAULT
Enum value Default.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Parses a serialized value to a WorkerSizeOptions instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed WorkerSizeOptions object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<WorkerSizeOptions>
-