public static class CreateWebhookChannelResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateWebhookChannelResult.Builder id(String id)
public CreateWebhookChannelResult.Builder name(String name)
public CreateWebhookChannelResult.Builder description(String description)
public CreateWebhookChannelResult.Builder category(ChannelCategory category)
public CreateWebhookChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CreateWebhookChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
public CreateWebhookChannelResult.Builder timeCreated(Date timeCreated)
public CreateWebhookChannelResult.Builder timeUpdated(Date timeUpdated)
public CreateWebhookChannelResult.Builder freeformTags(Map<String,String> freeformTags)
public CreateWebhookChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateWebhookChannelResult.Builder secretKey(String secretKey)
The secret key used to verify the authenticity of received messages. This is only returned this once. If it is lost the keys will need to be rotated to generate a new key.
secretKey
- the value to setpublic CreateWebhookChannelResult.Builder outboundUrl(String outboundUrl)
The URL to send responses to.
outboundUrl
- the value to setpublic CreateWebhookChannelResult.Builder payloadVersion(WebhookPayloadVersion payloadVersion)
The version for payloads.
payloadVersion
- the value to setpublic CreateWebhookChannelResult.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic CreateWebhookChannelResult.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 CreateWebhookChannelResult build()
public CreateWebhookChannelResult.Builder copy(CreateWebhookChannelResult model)
Copyright © 2016–2024. All rights reserved.