public static class CreateAppEventChannelResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateAppEventChannelResult.Builder id(String id)
public CreateAppEventChannelResult.Builder name(String name)
public CreateAppEventChannelResult.Builder description(String description)
public CreateAppEventChannelResult.Builder category(ChannelCategory category)
public CreateAppEventChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CreateAppEventChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
public CreateAppEventChannelResult.Builder timeCreated(Date timeCreated)
public CreateAppEventChannelResult.Builder timeUpdated(Date timeUpdated)
public CreateAppEventChannelResult.Builder freeformTags(Map<String,String> freeformTags)
public CreateAppEventChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateAppEventChannelResult.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 CreateAppEventChannelResult.Builder outboundUrl(String outboundUrl)
The URL for sending errors and responses to.
outboundUrl
- the value to setpublic CreateAppEventChannelResult.Builder eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.
eventSinkBotIds
- the value to setpublic 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.
webhookUrl
- the value to setpublic CreateAppEventChannelResult build()
public CreateAppEventChannelResult.Builder copy(CreateAppEventChannelResult model)
Copyright © 2016–2024. All rights reserved.