public static enum RequestedSecret.Mode extends Enum<RequestedSecret.Mode>
Enum Constant and Description |
---|
RENEW
Renew lease of the requested secret until secret expires its max lease time.
|
ROTATE
Renew lease of the requested secret.
|
Modifier and Type | Method and Description |
---|---|
static RequestedSecret.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestedSecret.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestedSecret.Mode RENEW
public static final RequestedSecret.Mode ROTATE
public static RequestedSecret.Mode[] values()
for (RequestedSecret.Mode c : RequestedSecret.Mode.values()) System.out.println(c);
public static RequestedSecret.Mode 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 nullCopyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.