public static enum Attachment.LifecycleState extends Enum<Attachment.LifecycleState> implements BmcEnum
The current state of the Offer.
Enum Constant and Description |
---|
Active |
Creating |
Deleted |
Deleting |
Failed |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Updating |
Modifier and Type | Method and Description |
---|---|
static Attachment.LifecycleState |
create(String key) |
String |
getValue() |
static Attachment.LifecycleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attachment.LifecycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attachment.LifecycleState Creating
public static final Attachment.LifecycleState Updating
public static final Attachment.LifecycleState Active
public static final Attachment.LifecycleState Deleting
public static final Attachment.LifecycleState Deleted
public static final Attachment.LifecycleState Failed
public static final Attachment.LifecycleState UnknownEnumValue
public static Attachment.LifecycleState[] values()
for (Attachment.LifecycleState c : Attachment.LifecycleState.values()) System.out.println(c);
public static Attachment.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 Attachment.LifecycleState create(String key)
Copyright © 2016–2024. All rights reserved.