Package com.oracle.bmc.oda.model
Class FacebookChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.FacebookChannel.Builder
-
- Enclosing class:
- FacebookChannel
public static class FacebookChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public FacebookChannel.Builder id(String id)
-
name
public FacebookChannel.Builder name(String name)
-
description
public FacebookChannel.Builder description(String description)
-
category
public FacebookChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public FacebookChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public FacebookChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public FacebookChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public FacebookChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public FacebookChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public FacebookChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
botId
public FacebookChannel.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 FacebookChannel.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 FacebookChannel build()
-
copy
public FacebookChannel.Builder copy(FacebookChannel model)
-
-