public static class WebhookChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public WebhookChannel.Builder id(String id)
public WebhookChannel.Builder name(String name)
public WebhookChannel.Builder description(String description)
public WebhookChannel.Builder category(ChannelCategory category)
public WebhookChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public WebhookChannel.Builder lifecycleState(LifecycleState lifecycleState)
public WebhookChannel.Builder timeCreated(Date timeCreated)
public WebhookChannel.Builder timeUpdated(Date timeUpdated)
public WebhookChannel.Builder freeformTags(Map<String,String> freeformTags)
public WebhookChannel.Builder outboundUrl(String outboundUrl)
The URL to send responses to.
outboundUrl
- the value to setpublic WebhookChannel.Builder payloadVersion(WebhookPayloadVersion payloadVersion)
The version for payloads.
payloadVersion
- the value to setpublic WebhookChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic WebhookChannel.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 WebhookChannel build()
public WebhookChannel.Builder copy(WebhookChannel model)
Copyright © 2016–2024. All rights reserved.