public static class SlackChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public SlackChannel.Builder id(String id)
public SlackChannel.Builder name(String name)
public SlackChannel.Builder description(String description)
public SlackChannel.Builder category(ChannelCategory category)
public SlackChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public SlackChannel.Builder lifecycleState(LifecycleState lifecycleState)
public SlackChannel.Builder timeCreated(Date timeCreated)
public SlackChannel.Builder timeUpdated(Date timeUpdated)
public SlackChannel.Builder freeformTags(Map<String,String> freeformTags)
public SlackChannel.Builder clientId(String clientId)
The Slack Client Id for the Slack app.
clientId
- the value to setpublic SlackChannel.Builder authSuccessUrl(String authSuccessUrl)
The URL to redirect to when authentication is successful.
authSuccessUrl
- the value to setpublic SlackChannel.Builder authErrorUrl(String authErrorUrl)
The URL to redirect to when authentication is unsuccessful.
authErrorUrl
- the value to setpublic SlackChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic SlackChannel.Builder webhookUrl(String webhookUrl)
The URL to use to send messages to this channel. This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel.
webhookUrl
- the value to setpublic SlackChannel build()
public SlackChannel.Builder copy(SlackChannel model)
Copyright © 2016–2024. All rights reserved.