public enum ClusterStateDTO extends Enum<ClusterStateDTO> implements Serializable
| Enum Constant and Description |
|---|
ERROR |
PENDING |
RESIZING |
RESTARTING |
RUNNING |
TERMINATED |
TERMINATING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ClusterStateDTO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStateDTO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterStateDTO PENDING
public static final ClusterStateDTO RUNNING
public static final ClusterStateDTO RESTARTING
public static final ClusterStateDTO RESIZING
public static final ClusterStateDTO TERMINATING
public static final ClusterStateDTO TERMINATED
public static final ClusterStateDTO ERROR
public static final ClusterStateDTO UNKNOWN
public static ClusterStateDTO[] values()
for (ClusterStateDTO c : ClusterStateDTO.values()) System.out.println(c);
public static ClusterStateDTO 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 toString()
toString in class Enum<ClusterStateDTO>Copyright © 2023. All rights reserved.