public static enum WorkRequestResource.ActionType extends Enum<WorkRequestResource.ActionType> implements BmcEnum
The way in which this resource is affected by the work tracked in the work request. A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource; at which point, it will transition to CREATED, UPDATED, or DELETED, respectively.
Enum Constant and Description |
---|
Created |
Deleted |
Failed |
InProgress |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Updated |
Modifier and Type | Method and Description |
---|---|
static WorkRequestResource.ActionType |
create(String key) |
String |
getValue() |
static WorkRequestResource.ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkRequestResource.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkRequestResource.ActionType Created
public static final WorkRequestResource.ActionType Updated
public static final WorkRequestResource.ActionType Deleted
public static final WorkRequestResource.ActionType InProgress
public static final WorkRequestResource.ActionType Failed
public static final WorkRequestResource.ActionType UnknownEnumValue
public static WorkRequestResource.ActionType[] values()
for (WorkRequestResource.ActionType c : WorkRequestResource.ActionType.values()) System.out.println(c);
public static WorkRequestResource.ActionType 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 WorkRequestResource.ActionType create(String key)
Copyright © 2016–2024. All rights reserved.