public static class AppEventChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public AppEventChannel.Builder id(String id)
public AppEventChannel.Builder name(String name)
public AppEventChannel.Builder description(String description)
public AppEventChannel.Builder category(ChannelCategory category)
public AppEventChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public AppEventChannel.Builder lifecycleState(LifecycleState lifecycleState)
public AppEventChannel.Builder timeCreated(Date timeCreated)
public AppEventChannel.Builder timeUpdated(Date timeUpdated)
public AppEventChannel.Builder freeformTags(Map<String,String> freeformTags)
public AppEventChannel.Builder outboundUrl(String outboundUrl)
The URL for sending errors and responses to.
outboundUrl
- the value to setpublic AppEventChannel.Builder eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.
eventSinkBotIds
- the value to setpublic AppEventChannel.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 AppEventChannel build()
public AppEventChannel.Builder copy(AppEventChannel model)
Copyright © 2016–2024. All rights reserved.