public static enum SecretContentDetails.Stage extends Enum<SecretContentDetails.Stage> implements BmcEnum
The rotation state of the secret content. The default is CURRENT
, meaning that the
secret is currently in use. A secret version that you mark as PENDING
is staged and
available for use, but you don’t yet want to rotate it into current, active use. For example,
you might create or update a secret and mark its rotation state as PENDING
if you
haven’t yet updated the secret on the target system. When creating a secret, only the value
CURRENT
is applicable, although the value LATEST
is also automatically
applied. When updating a secret, you can specify a version’s rotation state as either CURRENT
or PENDING
.
Modifier and Type | Method and Description |
---|---|
static SecretContentDetails.Stage |
create(String key) |
String |
getValue() |
static SecretContentDetails.Stage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecretContentDetails.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecretContentDetails.Stage Current
public static final SecretContentDetails.Stage Pending
public static SecretContentDetails.Stage[] values()
for (SecretContentDetails.Stage c : SecretContentDetails.Stage.values()) System.out.println(c);
public static SecretContentDetails.Stage 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 SecretContentDetails.Stage create(String key)
Copyright © 2016–2024. All rights reserved.