public static class CortanaChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public CortanaChannel.Builder id(String id)
public CortanaChannel.Builder name(String name)
public CortanaChannel.Builder description(String description)
public CortanaChannel.Builder category(ChannelCategory category)
public CortanaChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CortanaChannel.Builder lifecycleState(LifecycleState lifecycleState)
public CortanaChannel.Builder timeCreated(Date timeCreated)
public CortanaChannel.Builder timeUpdated(Date timeUpdated)
public CortanaChannel.Builder freeformTags(Map<String,String> freeformTags)
public CortanaChannel.Builder msaAppId(String msaAppId)
The Microsoft App ID that you obtained when you created your bot registration in Azure.
msaAppId
- the value to setpublic CortanaChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic 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.
webhookUrl
- the value to setpublic CortanaChannel build()
public CortanaChannel.Builder copy(CortanaChannel model)
Copyright © 2016–2023. All rights reserved.