Interface SlackEndpointBuilderFactory.SlackEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SlackEndpointBuilderFactory.SlackEndpointBuilder
- Enclosing interface:
SlackEndpointBuilderFactory
public static interface SlackEndpointBuilderFactory.SlackEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Slack component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
Deprecated.Deprecated.The token to access Slack.Deprecated.webhookUrl
(String webhookUrl) The incoming webhook URL.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
-
token
The token to access Slack. This app needs to have channels:history, groups:history, im:history, mpim:history, channels:read, groups:read, im:read and mpim:read permissions. The User OAuth Token is the kind of token needed. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
token
- the value to set- Returns:
- the dsl builder
-
iconEmoji
@Deprecated default SlackEndpointBuilderFactory.SlackEndpointProducerBuilder iconEmoji(String iconEmoji) Deprecated.Use a Slack emoji as an avatar. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
iconEmoji
- the value to set- Returns:
- the dsl builder
-
iconUrl
@Deprecated default SlackEndpointBuilderFactory.SlackEndpointProducerBuilder iconUrl(String iconUrl) Deprecated.The avatar that the component will use when sending message to a channel or user. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
iconUrl
- the value to set- Returns:
- the dsl builder
-
username
@Deprecated default SlackEndpointBuilderFactory.SlackEndpointProducerBuilder username(String username) Deprecated.This is the username that the bot will have when sending messages to a channel or user. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
webhookUrl
The incoming webhook URL. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
webhookUrl
- the value to set- Returns:
- the dsl builder
-