Package com.oracle.bmc.oda.model
Class AppEventChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.AppEventChannel.Builder
-
- Enclosing class:
- AppEventChannel
public static class AppEventChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public AppEventChannel.Builder id(String id)
-
name
public AppEventChannel.Builder name(String name)
-
description
public AppEventChannel.Builder description(String description)
-
category
public AppEventChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public AppEventChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public AppEventChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public AppEventChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public AppEventChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public AppEventChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public AppEventChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
outboundUrl
public AppEventChannel.Builder outboundUrl(String outboundUrl)
The URL for sending errors and responses to.- Parameters:
outboundUrl
- the value to set- Returns:
- this builder
-
eventSinkBotIds
public AppEventChannel.Builder eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.- Parameters:
eventSinkBotIds
- the value to set- Returns:
- this builder
-
webhookUrl
public AppEventChannel.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 AppEventChannel build()
-
copy
public AppEventChannel.Builder copy(AppEventChannel model)
-
-