public static enum VaultPropertySource.Renewal extends Enum<VaultPropertySource.Renewal>
Enum Constant and Description |
---|
OFF
Do not renew leases associated with secrets.
|
RENEW
Renew secrets in regular intervals to keep the lease alive.
|
ROTATE
Renew secrets (like
RENEW ) and request new secrets once the lease
expires. |
Modifier and Type | Method and Description |
---|---|
static VaultPropertySource.Renewal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VaultPropertySource.Renewal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VaultPropertySource.Renewal OFF
public static final VaultPropertySource.Renewal RENEW
public static final VaultPropertySource.Renewal ROTATE
RENEW
) and request new secrets once the lease
expires.public static VaultPropertySource.Renewal[] values()
for (VaultPropertySource.Renewal c : VaultPropertySource.Renewal.values()) System.out.println(c);
public static VaultPropertySource.Renewal 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–2020 Pivotal Software, Inc.. All rights reserved.