Package com.oracle.bmc.oda.model
Class SlackChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.SlackChannel.Builder
-
- Enclosing class:
- SlackChannel
public static class SlackChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public SlackChannel.Builder id(String id)
-
name
public SlackChannel.Builder name(String name)
-
description
public SlackChannel.Builder description(String description)
-
category
public SlackChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public SlackChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public SlackChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public SlackChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public SlackChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public SlackChannel.Builder freeformTags(Map<String,String> freeformTags)
-
clientId
public SlackChannel.Builder clientId(String clientId)
The Slack Client Id for the Slack app.- Parameters:
clientId
- the value to set- Returns:
- this builder
-
authSuccessUrl
public SlackChannel.Builder authSuccessUrl(String authSuccessUrl)
The URL to redirect to when authentication is successful.- Parameters:
authSuccessUrl
- the value to set- Returns:
- this builder
-
authErrorUrl
public SlackChannel.Builder authErrorUrl(String authErrorUrl)
The URL to redirect to when authentication is unsuccessful.- Parameters:
authErrorUrl
- the value to set- Returns:
- this builder
-
botId
public SlackChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.- Parameters:
botId
- the value to set- Returns:
- this builder
-
webhookUrl
public 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.
- Parameters:
webhookUrl
- the value to set- Returns:
- this builder
-
build
public SlackChannel build()
-
copy
public SlackChannel.Builder copy(SlackChannel model)
-
-