Interface AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.azure.functions.FunctionsComponent>
- All Known Implementing Classes:
AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilderImpl
- Enclosing interface:
AzureFunctionsComponentBuilderFactory
public static interface AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder
extends ComponentBuilder<org.apache.camel.component.azure.functions.FunctionsComponent>
Builder for the Azure Functions component.
-
Method Summary
Modifier and TypeMethodDescriptionappServiceManager(com.azure.resourcemanager.appservice.AppServiceManager appServiceManager) An AppServiceManager instance for management operations.autowiredEnabled(boolean autowiredEnabled) Whether autowiring is enabled.Azure AD Client ID for service principal authentication.clientSecret(String clientSecret) Azure AD Client Secret for service principal authentication.configuration(org.apache.camel.component.azure.functions.FunctionsConfiguration configuration) The component configuration.connectionTimeout(int connectionTimeout) Connection timeout in milliseconds for HTTP invocation.credentialType(org.apache.camel.component.azure.functions.CredentialType credentialType) Determines the credential strategy to adopt.functionKey(String functionKey) The function key for direct HTTP invocation.The host key for the function app (used if function key is not provided).httpMethod(String httpMethod) HTTP method for function invocation (GET, POST, PUT, DELETE, etc.).lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).Azure region for creating function app (e.g., eastus, westeurope).operation(org.apache.camel.component.azure.functions.FunctionsOperations operation) The operation to be performed.readTimeout(int readTimeout) Read timeout in milliseconds for HTTP invocation.resourceGroup(String resourceGroup) The resource group name containing the function app (required for management operations).Runtime stack (java, node, python, dotnet).runtimeVersion(String runtimeVersion) Runtime version.storageAccountConnectionString(String storageAccountConnectionString) Storage account connection string for function app.subscriptionId(String subscriptionId) The Azure subscription ID (required for management operations).Azure AD Tenant ID.tokenCredential(com.azure.core.credential.TokenCredential tokenCredential) A TokenCredential instance for Azure AD authentication.Methods inherited from interface ComponentBuilder
build, build, doSetProperty, register
-
Method Details
-
configuration
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder configuration(org.apache.camel.component.azure.functions.FunctionsConfiguration configuration) The component configuration. The option is a: <code>org.apache.camel.component.azure.functions.FunctionsConfiguration</code> type. Group: producer- Parameters:
configuration- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder connectionTimeout(int connectionTimeout) Connection timeout in milliseconds for HTTP invocation. The option is a: <code>int</code> type. Default: 30000 Group: producer- Parameters:
connectionTimeout- the value to set- Returns:
- the dsl builder
-
httpMethod
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder httpMethod(String httpMethod) HTTP method for function invocation (GET, POST, PUT, DELETE, etc.). The option is a: <code>java.lang.String</code> type. Default: POST Group: producer- Parameters:
httpMethod- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
location
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder location(String location) Azure region for creating function app (e.g., eastus, westeurope). The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
location- the value to set- Returns:
- the dsl builder
-
operation
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder operation(org.apache.camel.component.azure.functions.FunctionsOperations operation) The operation to be performed. The option is a: <code>org.apache.camel.component.azure.functions.FunctionsOperations</code> type. Default: invokeFunction Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
readTimeout
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder readTimeout(int readTimeout) Read timeout in milliseconds for HTTP invocation. The option is a: <code>int</code> type. Default: 60000 Group: producer- Parameters:
readTimeout- the value to set- Returns:
- the dsl builder
-
runtime
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder runtime(String runtime) Runtime stack (java, node, python, dotnet). The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
runtime- the value to set- Returns:
- the dsl builder
-
runtimeVersion
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder runtimeVersion(String runtimeVersion) Runtime version. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
runtimeVersion- the value to set- Returns:
- the dsl builder
-
storageAccountConnectionString
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder storageAccountConnectionString(String storageAccountConnectionString) Storage account connection string for function app. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
storageAccountConnectionString- the value to set- Returns:
- the dsl builder
-
appServiceManager
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder appServiceManager(com.azure.resourcemanager.appservice.AppServiceManager appServiceManager) An AppServiceManager instance for management operations. The option is a: <code>com.azure.resourcemanager.appservice.AppServiceManager</code> type. Group: advanced- Parameters:
appServiceManager- the value to set- Returns:
- the dsl builder
-
autowiredEnabled
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder autowiredEnabled(boolean autowiredEnabled) Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled- the value to set- Returns:
- the dsl builder
-
clientId
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder clientId(String clientId) Azure AD Client ID for service principal authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientId- the value to set- Returns:
- the dsl builder
-
clientSecret
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder clientSecret(String clientSecret) Azure AD Client Secret for service principal authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientSecret- the value to set- Returns:
- the dsl builder
-
credentialType
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder credentialType(org.apache.camel.component.azure.functions.CredentialType credentialType) Determines the credential strategy to adopt. The option is a: <code>org.apache.camel.component.azure.functions.CredentialType</code> type. Default: AZURE_IDENTITY Group: security- Parameters:
credentialType- the value to set- Returns:
- the dsl builder
-
functionKey
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder functionKey(String functionKey) The function key for direct HTTP invocation. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
functionKey- the value to set- Returns:
- the dsl builder
-
hostKey
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder hostKey(String hostKey) The host key for the function app (used if function key is not provided). The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
hostKey- the value to set- Returns:
- the dsl builder
-
resourceGroup
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder resourceGroup(String resourceGroup) The resource group name containing the function app (required for management operations). The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
resourceGroup- the value to set- Returns:
- the dsl builder
-
subscriptionId
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder subscriptionId(String subscriptionId) The Azure subscription ID (required for management operations). The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
subscriptionId- the value to set- Returns:
- the dsl builder
-
tenantId
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder tenantId(String tenantId) Azure AD Tenant ID. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
tenantId- the value to set- Returns:
- the dsl builder
-
tokenCredential
default AzureFunctionsComponentBuilderFactory.AzureFunctionsComponentBuilder tokenCredential(com.azure.core.credential.TokenCredential tokenCredential) A TokenCredential instance for Azure AD authentication. The option is a: <code>com.azure.core.credential.TokenCredential</code> type. Group: security- Parameters:
tokenCredential- the value to set- Returns:
- the dsl builder
-