Interface Dhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Dhis2EndpointBuilderFactory.Dhis2EndpointBuilder
- Enclosing interface:
Dhis2EndpointBuilderFactory
public static interface Dhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers 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.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
baseApiUrl
DHIS2 server base API URL (e.g., https://play.dhis2.org/2.39.1.1/api). The option is a:java.lang.Stringtype. Group: common- 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.Stringtype. Group: common- Parameters:
inBody- the value to set- Returns:
- the dsl builder
-
password
Password of the DHIS2 username. The option is a:java.lang.Stringtype. Group: security- Parameters:
password- the value to set- Returns:
- the dsl builder
-
personalAccessToken
default Dhis2EndpointBuilderFactory.Dhis2EndpointProducerBuilder 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.Stringtype. Group: security- 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.Stringtype. Group: security- Parameters:
username- the value to set- Returns:
- the dsl builder
-