Package com.oracle.bmc.oda.model
Class CreateFacebookChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateFacebookChannelResult.Builder
-
- Enclosing class:
- CreateFacebookChannelResult
public static class CreateFacebookChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateFacebookChannelResult.Builder id(String id)
-
name
public CreateFacebookChannelResult.Builder name(String name)
-
description
public CreateFacebookChannelResult.Builder description(String description)
-
category
public CreateFacebookChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateFacebookChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateFacebookChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateFacebookChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateFacebookChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateFacebookChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateFacebookChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
verifyToken
public CreateFacebookChannelResult.Builder verifyToken(String verifyToken)
The Facebook verify token.This is used by Facebook when verifying the webhook channel. This is only returned this once. If it is lost the keys will need to be rotated to generate a new verify token.
- Parameters:
verifyToken
- the value to set- Returns:
- this builder
-
botId
public CreateFacebookChannelResult.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 CreateFacebookChannelResult.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 CreateFacebookChannelResult build()
-
copy
public CreateFacebookChannelResult.Builder copy(CreateFacebookChannelResult model)
-
-