Package com.oracle.bmc.secrets.requests
Enum GetSecretBundleByNameRequest.Stage
- java.lang.Object
-
- java.lang.Enum<GetSecretBundleByNameRequest.Stage>
-
- com.oracle.bmc.secrets.requests.GetSecretBundleByNameRequest.Stage
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GetSecretBundleByNameRequest.Stage>
- Enclosing class:
- GetSecretBundleByNameRequest
public static enum GetSecretBundleByNameRequest.Stage extends Enum<GetSecretBundleByNameRequest.Stage> implements BmcEnum
The rotation state of the secret version.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Current
Deprecated
Latest
Pending
Previous
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSecretBundleByNameRequest.Stage
create(String key)
String
getValue()
static GetSecretBundleByNameRequest.Stage
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetSecretBundleByNameRequest.Stage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Current
public static final GetSecretBundleByNameRequest.Stage Current
-
Pending
public static final GetSecretBundleByNameRequest.Stage Pending
-
Latest
public static final GetSecretBundleByNameRequest.Stage Latest
-
Previous
public static final GetSecretBundleByNameRequest.Stage Previous
-
Deprecated
public static final GetSecretBundleByNameRequest.Stage Deprecated
-
-
Method Detail
-
values
public static GetSecretBundleByNameRequest.Stage[] 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 (GetSecretBundleByNameRequest.Stage c : GetSecretBundleByNameRequest.Stage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetSecretBundleByNameRequest.Stage 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 GetSecretBundleByNameRequest.Stage create(String key)
-
-