public static class OSSChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OSSChannel.Builder |
bootstrapServers(String bootstrapServers)
The Oracle Streaming Service bootstrap servers.
|
OSSChannel |
build() |
OSSChannel.Builder |
category(ChannelCategory category) |
OSSChannel.Builder |
copy(OSSChannel model) |
OSSChannel.Builder |
definedTags(Map<String,Map<String,Object>> definedTags) |
OSSChannel.Builder |
description(String description) |
OSSChannel.Builder |
eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.
|
OSSChannel.Builder |
freeformTags(Map<String,String> freeformTags) |
OSSChannel.Builder |
id(String id) |
OSSChannel.Builder |
inboundMessageTopic(String inboundMessageTopic)
The topic inbound messages are received on.
|
OSSChannel.Builder |
lifecycleState(LifecycleState lifecycleState) |
OSSChannel.Builder |
name(String name) |
OSSChannel.Builder |
outboundMessageTopic(String outboundMessageTopic)
The topic outbound messages are sent on.
|
OSSChannel.Builder |
saslMechanism(String saslMechanism)
The SASL mechanmism to use when conecting to the Oracle Streaming Service.
|
OSSChannel.Builder |
securityProtocol(String securityProtocol)
The security protocol to use when conecting to the Oracle Streaming Service.
|
OSSChannel.Builder |
sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds) |
OSSChannel.Builder |
streamPoolId(String streamPoolId)
The stream pool OCI to use when connecting to the Oracle Streaming Service.
|
OSSChannel.Builder |
tenancyName(String tenancyName)
The tenancy to use when connecting to the Oracle Streaming Service.
|
OSSChannel.Builder |
timeCreated(Date timeCreated) |
OSSChannel.Builder |
timeUpdated(Date timeUpdated) |
OSSChannel.Builder |
userName(String userName)
The user name to use when connecting to the Oracle Streaming Service.
|
public OSSChannel.Builder id(String id)
public OSSChannel.Builder name(String name)
public OSSChannel.Builder description(String description)
public OSSChannel.Builder category(ChannelCategory category)
public OSSChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public OSSChannel.Builder lifecycleState(LifecycleState lifecycleState)
public OSSChannel.Builder timeCreated(Date timeCreated)
public OSSChannel.Builder timeUpdated(Date timeUpdated)
public OSSChannel.Builder freeformTags(Map<String,String> freeformTags)
public OSSChannel.Builder eventSinkBotIds(List<String> eventSinkBotIds)
The IDs of the Skills and Digital Assistants that the Channel is routed to.
eventSinkBotIds
- the value to setpublic OSSChannel.Builder inboundMessageTopic(String inboundMessageTopic)
The topic inbound messages are received on.
inboundMessageTopic
- the value to setpublic OSSChannel.Builder outboundMessageTopic(String outboundMessageTopic)
The topic outbound messages are sent on.
outboundMessageTopic
- the value to setpublic OSSChannel.Builder bootstrapServers(String bootstrapServers)
The Oracle Streaming Service bootstrap servers.
bootstrapServers
- the value to setpublic OSSChannel.Builder securityProtocol(String securityProtocol)
The security protocol to use when conecting to the Oracle Streaming Service. See Oracle Streaming Service documentation for a list of valid values.
securityProtocol
- the value to setpublic OSSChannel.Builder saslMechanism(String saslMechanism)
The SASL mechanmism to use when conecting to the Oracle Streaming Service. See Oracle Streaming Service documentation for a list of valid values.
saslMechanism
- the value to setpublic OSSChannel.Builder tenancyName(String tenancyName)
The tenancy to use when connecting to the Oracle Streaming Service.
tenancyName
- the value to setpublic OSSChannel.Builder userName(String userName)
The user name to use when connecting to the Oracle Streaming Service.
userName
- the value to setpublic OSSChannel.Builder streamPoolId(String streamPoolId)
The stream pool OCI to use when connecting to the Oracle Streaming Service.
streamPoolId
- the value to setpublic OSSChannel build()
public OSSChannel.Builder copy(OSSChannel model)
Copyright © 2016–2024. All rights reserved.