Package com.oracle.bmc.oda.model
Class CreateAppEventChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateAppEventChannelResult.Builder
-
- Enclosing class:
- CreateAppEventChannelResult
public static class CreateAppEventChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateAppEventChannelResult.Builder id(String id)
-
name
public CreateAppEventChannelResult.Builder name(String name)
-
description
public CreateAppEventChannelResult.Builder description(String description)
-
category
public CreateAppEventChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateAppEventChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateAppEventChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateAppEventChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateAppEventChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateAppEventChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateAppEventChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
public CreateAppEventChannelResult.Builder secretKey(char[] 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
-
secretKey
public CreateAppEventChannelResult.Builder secretKey(String secretKey)
-
outboundUrl
public CreateAppEventChannelResult.Builder outboundUrl(String outboundUrl)
The URL for sending errors and responses to.- Parameters:
outboundUrl- the value to set- Returns:
- this builder
-
eventSinkBotIds
public CreateAppEventChannelResult.Builder eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.- Parameters:
eventSinkBotIds- the value to set- Returns:
- this builder
-
webhookUrl
public CreateAppEventChannelResult.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 CreateAppEventChannelResult build()
-
copy
public CreateAppEventChannelResult.Builder copy(CreateAppEventChannelResult model)
-
-