public static enum VaultKeyValueOperationsSupport.KeyValueBackend extends Enum<VaultKeyValueOperationsSupport.KeyValueBackend>
Enum Constant and Description |
---|
KV_1
Key/Value backend version 1 (unversioned).
|
KV_2
K/V backend version 2 (versioned).
|
Modifier and Type | Method and Description |
---|---|
static VaultKeyValueOperationsSupport.KeyValueBackend |
unversioned() |
static VaultKeyValueOperationsSupport.KeyValueBackend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VaultKeyValueOperationsSupport.KeyValueBackend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static VaultKeyValueOperationsSupport.KeyValueBackend |
versioned() |
public static final VaultKeyValueOperationsSupport.KeyValueBackend KV_1
public static final VaultKeyValueOperationsSupport.KeyValueBackend KV_2
public static VaultKeyValueOperationsSupport.KeyValueBackend[] values()
for (VaultKeyValueOperationsSupport.KeyValueBackend c : VaultKeyValueOperationsSupport.KeyValueBackend.values()) System.out.println(c);
public static VaultKeyValueOperationsSupport.KeyValueBackend 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 VaultKeyValueOperationsSupport.KeyValueBackend unversioned()
public static VaultKeyValueOperationsSupport.KeyValueBackend versioned()
Copyright © 2016–2018 Pivotal Software, Inc.. All rights reserved.