public static enum EtcdConfigSourceBuilder.EtcdApi extends Enum<EtcdConfigSourceBuilder.EtcdApi>
EtcdApi determines which etcd API version will be used.
There are two API versions: v2 and v3.
| Enum Constant and Description |
|---|
v2
Etcd API v2 version.
|
v3
Etcd API v3 version.
|
| Modifier and Type | Method and Description |
|---|---|
io.helidon.config.etcd.internal.client.EtcdClientFactory |
clientFactory()
The client factory for this version of etcd.
|
static EtcdConfigSourceBuilder.EtcdApi |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtcdConfigSourceBuilder.EtcdApi[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtcdConfigSourceBuilder.EtcdApi v2
public static final EtcdConfigSourceBuilder.EtcdApi v3
public static EtcdConfigSourceBuilder.EtcdApi[] values()
for (EtcdConfigSourceBuilder.EtcdApi c : EtcdConfigSourceBuilder.EtcdApi.values()) System.out.println(c);
public static EtcdConfigSourceBuilder.EtcdApi 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 io.helidon.config.etcd.internal.client.EtcdClientFactory clientFactory()
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.