Package com.oracle.bmc.oda.model
Class OSSChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.OSSChannel.Builder
-
- Enclosing class:
- OSSChannel
public static class OSSChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public OSSChannel.Builder id(String id)
-
name
public OSSChannel.Builder name(String name)
-
description
public OSSChannel.Builder description(String description)
-
category
public OSSChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public OSSChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public OSSChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public OSSChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OSSChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public OSSChannel.Builder freeformTags(Map<String,String> freeformTags)
-
eventSinkBotIds
public OSSChannel.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
-
inboundMessageTopic
public OSSChannel.Builder inboundMessageTopic(String inboundMessageTopic)
The topic inbound messages are received on.- Parameters:
inboundMessageTopic
- the value to set- Returns:
- this builder
-
outboundMessageTopic
public OSSChannel.Builder outboundMessageTopic(String outboundMessageTopic)
The topic outbound messages are sent on.- Parameters:
outboundMessageTopic
- the value to set- Returns:
- this builder
-
bootstrapServers
public OSSChannel.Builder bootstrapServers(String bootstrapServers)
The Oracle Streaming Service bootstrap servers.- Parameters:
bootstrapServers
- the value to set- Returns:
- this builder
-
securityProtocol
public 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.
- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
saslMechanism
public 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.
- Parameters:
saslMechanism
- the value to set- Returns:
- this builder
-
tenancyName
public OSSChannel.Builder tenancyName(String tenancyName)
The tenancy to use when connecting to the Oracle Streaming Service.- Parameters:
tenancyName
- the value to set- Returns:
- this builder
-
userName
public OSSChannel.Builder userName(String userName)
The user name to use when connecting to the Oracle Streaming Service.- Parameters:
userName
- the value to set- Returns:
- this builder
-
streamPoolId
public OSSChannel.Builder streamPoolId(String streamPoolId)
The stream pool OCI to use when connecting to the Oracle Streaming Service.- Parameters:
streamPoolId
- the value to set- Returns:
- this builder
-
build
public OSSChannel build()
-
copy
public OSSChannel.Builder copy(OSSChannel model)
-
-