Interface Dhis2EndpointBuilderFactory.Dhis2EndpointBuilder
- All Superinterfaces:
Dhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
,Dhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
,org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
Dhis2EndpointBuilderFactory
public static interface Dhis2EndpointBuilderFactory.Dhis2EndpointBuilder
extends Dhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder, Dhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
Builder for endpoint for the DHIS2 component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
baseApiUrl
(String baseApiUrl) DHIS2 server base API URL (e.g., https://play.dhis2.org/2.39.1.1/api).Sets the name of a parameter to be passed in the exchange In Body.Password of the DHIS2 username.personalAccessToken
(String personalAccessToken) Personal access token to authenticate with DHIS2.Username of the DHIS2 user to operate as.Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Dhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
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
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
advanced
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
-
baseApiUrl
DHIS2 server base API URL (e.g., https://play.dhis2.org/2.39.1.1/api). The option is a:java.lang.String
type. Group: common- Specified by:
baseApiUrl
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
baseApiUrl
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- Parameters:
baseApiUrl
- the value to set- Returns:
- the dsl builder
-
inBody
Sets the name of a parameter to be passed in the exchange In Body. The option is a:java.lang.String
type. Group: common- Specified by:
inBody
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
inBody
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
password
Password of the DHIS2 username. The option is a:java.lang.String
type. Group: security- Specified by:
password
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
password
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
personalAccessToken
default Dhis2EndpointBuilderFactory.Dhis2EndpointBuilder personalAccessToken(String personalAccessToken) Personal access token to authenticate with DHIS2. This option is mutually exclusive to username and password. The option is a:java.lang.String
type. Group: security- Specified by:
personalAccessToken
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
personalAccessToken
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- Parameters:
personalAccessToken
- the value to set- Returns:
- the dsl builder
-
username
Username of the DHIS2 user to operate as. The option is a:java.lang.String
type. Group: security- Specified by:
username
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointConsumerBuilder
- Specified by:
username
in interfaceDhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- Parameters:
username
- the value to set- Returns:
- the dsl builder
-