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 SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic SlackChannel.Builder id(String id) 
 - 
namepublic SlackChannel.Builder name(String name) 
 - 
descriptionpublic SlackChannel.Builder description(String description) 
 - 
categorypublic SlackChannel.Builder category(ChannelCategory category) 
 - 
sessionExpiryDurationInMillisecondspublic SlackChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds) 
 - 
lifecycleStatepublic SlackChannel.Builder lifecycleState(LifecycleState lifecycleState) 
 - 
timeCreatedpublic SlackChannel.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic SlackChannel.Builder timeUpdated(Date timeUpdated) 
 - 
freeformTagspublic SlackChannel.Builder freeformTags(Map<String,String> freeformTags) 
 - 
clientIdpublic SlackChannel.Builder clientId(String clientId) The Slack Client Id for the Slack app.- Parameters:
- clientId- the value to set
- Returns:
- this builder
 
 - 
authSuccessUrlpublic SlackChannel.Builder authSuccessUrl(String authSuccessUrl) The URL to redirect to when authentication is successful.- Parameters:
- authSuccessUrl- the value to set
- Returns:
- this builder
 
 - 
authErrorUrlpublic SlackChannel.Builder authErrorUrl(String authErrorUrl) The URL to redirect to when authentication is unsuccessful.- Parameters:
- authErrorUrl- the value to set
- Returns:
- this builder
 
 - 
botIdpublic 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
 
 - 
webhookUrlpublic 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
 
 - 
buildpublic SlackChannel build() 
 - 
copypublic SlackChannel.Builder copy(SlackChannel model) 
 
- 
 
-