public static enum Tag.LifecycleState extends Enum<Tag.LifecycleState> implements BmcEnum
The tag’s current state. After creating a tag, make sure its lifecycleState
is ACTIVE
before using it. After retiring a tag, make sure its lifecycleState
is INACTIVE
before using it. If you delete a tag, you cannot delete another tag until the deleted tag’s
lifecycleState
changes from DELETING to DELETED.
Enum Constant and Description |
---|
Active |
Deleted |
Deleting |
Inactive |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Tag.LifecycleState |
create(String key) |
String |
getValue() |
static Tag.LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tag.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tag.LifecycleState Active
public static final Tag.LifecycleState Inactive
public static final Tag.LifecycleState Deleting
public static final Tag.LifecycleState Deleted
public static final Tag.LifecycleState UnknownEnumValue
public static Tag.LifecycleState[] values()
for (Tag.LifecycleState c : Tag.LifecycleState.values()) System.out.println(c);
public static Tag.LifecycleState 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 Tag.LifecycleState create(String key)
Copyright © 2016–2024. All rights reserved.