Enum ListSnapshotsRequest.LifecycleState
- java.lang.Object
-
- java.lang.Enum<ListSnapshotsRequest.LifecycleState>
-
- com.oracle.bmc.filestorage.requests.ListSnapshotsRequest.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListSnapshotsRequest.LifecycleState>
- Enclosing class:
- ListSnapshotsRequest
public static enum ListSnapshotsRequest.LifecycleState extends Enum<ListSnapshotsRequest.LifecycleState> implements BmcEnum
Filter results by the specified lifecycle state.Must be a valid state for the resource type.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSnapshotsRequest.LifecycleState
create(String key)
String
getValue()
static ListSnapshotsRequest.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListSnapshotsRequest.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final ListSnapshotsRequest.LifecycleState Creating
-
Active
public static final ListSnapshotsRequest.LifecycleState Active
-
Updating
public static final ListSnapshotsRequest.LifecycleState Updating
-
Deleting
public static final ListSnapshotsRequest.LifecycleState Deleting
-
Deleted
public static final ListSnapshotsRequest.LifecycleState Deleted
-
Failed
public static final ListSnapshotsRequest.LifecycleState Failed
-
-
Method Detail
-
values
public static ListSnapshotsRequest.LifecycleState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListSnapshotsRequest.LifecycleState c : ListSnapshotsRequest.LifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListSnapshotsRequest.LifecycleState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ListSnapshotsRequest.LifecycleState create(String key)
-
-