Package com.oracle.bmc.oda.model
Class CreateWebhookChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateWebhookChannelResult.Builder
-
- Enclosing class:
- CreateWebhookChannelResult
public static class CreateWebhookChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateWebhookChannelResult.Builder id(String id)
-
name
public CreateWebhookChannelResult.Builder name(String name)
-
description
public CreateWebhookChannelResult.Builder description(String description)
-
category
public CreateWebhookChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateWebhookChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateWebhookChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateWebhookChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateWebhookChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateWebhookChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateWebhookChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
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.
- Parameters:
secretKey
- the value to set- Returns:
- this builder
-
outboundUrl
public CreateWebhookChannelResult.Builder outboundUrl(String outboundUrl)
The URL to send responses to.- Parameters:
outboundUrl
- the value to set- Returns:
- this builder
-
payloadVersion
public CreateWebhookChannelResult.Builder payloadVersion(WebhookPayloadVersion payloadVersion)
The version for payloads.- Parameters:
payloadVersion
- the value to set- Returns:
- this builder
-
botId
public CreateWebhookChannelResult.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 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.
- Parameters:
webhookUrl
- the value to set- Returns:
- this builder
-
build
public CreateWebhookChannelResult build()
-
copy
public CreateWebhookChannelResult.Builder copy(CreateWebhookChannelResult model)
-
-