Package com.oracle.bmc.oda.model
Class CortanaChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CortanaChannel.Builder
-
- Enclosing class:
- CortanaChannel
public static class CortanaChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CortanaChannel.Builder id(String id)
-
name
public CortanaChannel.Builder name(String name)
-
description
public CortanaChannel.Builder description(String description)
-
category
public CortanaChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CortanaChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CortanaChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CortanaChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CortanaChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CortanaChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CortanaChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
msaAppId
public CortanaChannel.Builder msaAppId(String msaAppId)
The Microsoft App ID that you obtained when you created your bot registration in Azure.- Parameters:
msaAppId
- the value to set- Returns:
- this builder
-
botId
public CortanaChannel.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 CortanaChannel.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 CortanaChannel build()
-
copy
public CortanaChannel.Builder copy(CortanaChannel model)
-
-