public enum ClusterStatus extends Enum<ClusterStatus> implements LifeCycleState
| Enum Constant and Description |
|---|
Active |
Created |
Inactive |
Patching |
Terminated |
Terminating |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ClusterStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetNextStatespublic static final ClusterStatus Created
public static final ClusterStatus Active
public static final ClusterStatus Patching
public static final ClusterStatus Inactive
public static final ClusterStatus Terminating
public static final ClusterStatus Terminated
public static ClusterStatus[] values()
for (ClusterStatus c : ClusterStatus.values()) System.out.println(c);
public static ClusterStatus 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 int getCode()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.