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