Interface WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
WatsonDiscoveryEndpointBuilderFactory
public static interface WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the IBM Watson Discovery component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()The IBM Cloud API key for authentication.collectionId(String collectionId) The collection ID for operations that require it.The operation to perform.operation(org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations operation) The operation to perform.The Watson Discovery project ID.serviceUrl(String serviceUrl) The service endpoint URL.The API version date (format: YYYY-MM-DD).Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
projectId
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder projectId(String projectId) The Watson Discovery project ID. The option is a:java.lang.Stringtype. Required: true Group: common- Parameters:
projectId- the value to set- Returns:
- the dsl builder
-
serviceUrl
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder serviceUrl(String serviceUrl) The service endpoint URL. If not specified, the default URL will be used. The option is a:java.lang.Stringtype. Group: common- Parameters:
serviceUrl- the value to set- Returns:
- the dsl builder
-
version
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder version(String version) The API version date (format: YYYY-MM-DD). The option is a:java.lang.Stringtype. Default: 2023-03-31 Group: common- Parameters:
version- the value to set- Returns:
- the dsl builder
-
collectionId
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder collectionId(String collectionId) The collection ID for operations that require it. The option is a:java.lang.Stringtype. Group: producer- Parameters:
collectionId- the value to set- Returns:
- the dsl builder
-
operation
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder operation(org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperations operation) The operation to perform. The option is a:org.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default WatsonDiscoveryEndpointBuilderFactory.WatsonDiscoveryEndpointBuilder operation(String operation) The operation to perform. The option will be converted to aorg.apache.camel.component.ibm.watson.discovery.WatsonDiscoveryOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
apiKey
The IBM Cloud API key for authentication. The option is a:java.lang.Stringtype. Required: true Group: security- Parameters:
apiKey- the value to set- Returns:
- the dsl builder
-