Package com.oracle.bmc.oda.model
Class WebhookChannel.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.model.WebhookChannel.Builder
 
- 
- Enclosing class:
- WebhookChannel
 
 public static class WebhookChannel.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic WebhookChannel.Builder id(String id) 
 - 
namepublic WebhookChannel.Builder name(String name) 
 - 
descriptionpublic WebhookChannel.Builder description(String description) 
 - 
categorypublic WebhookChannel.Builder category(ChannelCategory category) 
 - 
sessionExpiryDurationInMillisecondspublic WebhookChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds) 
 - 
lifecycleStatepublic WebhookChannel.Builder lifecycleState(LifecycleState lifecycleState) 
 - 
timeCreatedpublic WebhookChannel.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic WebhookChannel.Builder timeUpdated(Date timeUpdated) 
 - 
freeformTagspublic WebhookChannel.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic WebhookChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
outboundUrlpublic WebhookChannel.Builder outboundUrl(String outboundUrl) The URL to send responses to.- Parameters:
- outboundUrl- the value to set
- Returns:
- this builder
 
 - 
payloadVersionpublic WebhookChannel.Builder payloadVersion(WebhookPayloadVersion payloadVersion) The version for payloads.- Parameters:
- payloadVersion- the value to set
- Returns:
- this builder
 
 - 
botIdpublic WebhookChannel.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
 
 - 
webhookUrlpublic 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. - Parameters:
- webhookUrl- the value to set
- Returns:
- this builder
 
 - 
buildpublic WebhookChannel build() 
 - 
copypublic WebhookChannel.Builder copy(WebhookChannel model) 
 
- 
 
-