public enum PoolAllocationMode extends Enum<PoolAllocationMode>
Enum Constant and Description |
---|
BATCH_SERVICE
Enum value BatchService.
|
USER_SUBSCRIPTION
Enum value UserSubscription.
|
Modifier and Type | Method and Description |
---|---|
static PoolAllocationMode |
fromString(String value)
Parses a serialized value to a PoolAllocationMode instance.
|
String |
toString() |
static PoolAllocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolAllocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolAllocationMode BATCH_SERVICE
public static final PoolAllocationMode USER_SUBSCRIPTION
public static PoolAllocationMode[] values()
for (PoolAllocationMode c : PoolAllocationMode.values()) System.out.println(c);
public static PoolAllocationMode 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 PoolAllocationMode fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<PoolAllocationMode>
Copyright © 2019. All rights reserved.