Package com.oracle.bmc.oda.model
Class WebhookChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.WebhookChannel.Builder
-
- Enclosing class:
- WebhookChannel
public static class WebhookChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public WebhookChannel.Builder id(String id)
-
name
public WebhookChannel.Builder name(String name)
-
description
public WebhookChannel.Builder description(String description)
-
category
public WebhookChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public WebhookChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public WebhookChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public WebhookChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public WebhookChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public WebhookChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public WebhookChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
outboundUrl
public WebhookChannel.Builder outboundUrl(String outboundUrl)
The URL to send responses to.- Parameters:
outboundUrl
- the value to set- Returns:
- this builder
-
payloadVersion
public WebhookChannel.Builder payloadVersion(WebhookPayloadVersion payloadVersion)
The version for payloads.- Parameters:
payloadVersion
- the value to set- Returns:
- this builder
-
botId
public WebhookChannel.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 WebhookChannel.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 WebhookChannel build()
-
copy
public WebhookChannel.Builder copy(WebhookChannel model)
-
-