Interface Etcd3EndpointBuilderFactory.Etcd3EndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,Etcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
,Etcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Enclosing interface:
Etcd3EndpointBuilderFactory
public static interface Etcd3EndpointBuilderFactory.Etcd3EndpointBuilder
extends Etcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder, Etcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
Builder for endpoint for the Etcd v3 component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
Configure etcd server endpoints using the IPNameResolver.keyCharset
(String keyCharset) Configure the charset to use for the keys.Configure the namespace of keys used. / will be treated as no namespace.Configure etcd auth password.prefix
(boolean prefix) To apply an action on all the key-value pairs whose key that starts with the target path.To apply an action on all the key-value pairs whose key that starts with the target path.servicePath
(String servicePath) The path to look for service discovery.Configure etcd auth user.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Etcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
valueCharset
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
advanced
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
-
endpoints
Configure etcd server endpoints using the IPNameResolver. Multiple endpoints can be separated by comma. The option is a:java.lang.String
type. Default: http://localhost:2379 Group: common- Specified by:
endpoints
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
endpoints
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
endpoints
- the value to set- Returns:
- the dsl builder
-
keyCharset
Configure the charset to use for the keys. The option is a:java.lang.String
type. Default: UTF-8 Group: common- Specified by:
keyCharset
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
keyCharset
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
keyCharset
- the value to set- Returns:
- the dsl builder
-
namespace
Configure the namespace of keys used. / will be treated as no namespace. The option is a:java.lang.String
type. Group: common- Specified by:
namespace
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
namespace
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
namespace
- the value to set- Returns:
- the dsl builder
-
prefix
To apply an action on all the key-value pairs whose key that starts with the target path. The option is a:boolean
type. Default: false Group: common- Specified by:
prefix
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
prefix
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
prefix
- the value to set- Returns:
- the dsl builder
-
prefix
To apply an action on all the key-value pairs whose key that starts with the target path. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
prefix
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
prefix
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
prefix
- the value to set- Returns:
- the dsl builder
-
servicePath
The path to look for service discovery. The option is a:java.lang.String
type. Default: /services/ Group: cloud- Specified by:
servicePath
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
servicePath
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
servicePath
- the value to set- Returns:
- the dsl builder
-
password
Configure etcd auth password. The option is a:java.lang.String
type. Group: security- Specified by:
password
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
password
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
userName
Configure etcd auth user. The option is a:java.lang.String
type. Group: security- Specified by:
userName
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointConsumerBuilder
- Specified by:
userName
in interfaceEtcd3EndpointBuilderFactory.Etcd3EndpointProducerBuilder
- Parameters:
userName
- the value to set- Returns:
- the dsl builder
-