public enum ResourceState extends Enum<ResourceState>
| Modifier and Type | Method and Description |
|---|---|
static ResourceState |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ResourceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceState ACTIVE
public static final ResourceState DELETING
public static final ResourceState DELETED
public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState 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 getValue()
public String toString()
toString in class Enum<ResourceState>public static ResourceState fromValue(String text)
Copyright © 2023. All rights reserved.