Package io.helidon.config.etcd
Enum EtcdConfigSourceBuilder.EtcdApi
- java.lang.Object
- 
- java.lang.Enum<EtcdConfigSourceBuilder.EtcdApi>
- 
- io.helidon.config.etcd.EtcdConfigSourceBuilder.EtcdApi
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<EtcdConfigSourceBuilder.EtcdApi>
 - Enclosing class:
- EtcdConfigSourceBuilder
 
 public static enum EtcdConfigSourceBuilder.EtcdApi extends Enum<EtcdConfigSourceBuilder.EtcdApi> EtcdApidetermines which etcd API version will be used.There are two API versions: v2andv3.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.helidon.config.etcd.internal.client.EtcdClientFactoryclientFactory()The client factory for this version of etcd.static EtcdConfigSourceBuilder.EtcdApivalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
v2public static final EtcdConfigSourceBuilder.EtcdApi v2 Etcd API v2 version.
 - 
v3public static final EtcdConfigSourceBuilder.EtcdApi v3 Etcd API v3 version.
 
- 
 - 
Method Detail- 
valuespublic static EtcdConfigSourceBuilder.EtcdApi[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EtcdConfigSourceBuilder.EtcdApi c : EtcdConfigSourceBuilder.EtcdApi.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static EtcdConfigSourceBuilder.EtcdApi valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
clientFactorypublic io.helidon.config.etcd.internal.client.EtcdClientFactory clientFactory() The client factory for this version of etcd.- Returns:
- client factory
 
 
- 
 
-