Package com.oracle.bmc.oda.model
Class CreateOSSChannelDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateOSSChannelDetails.Builder
-
- Enclosing class:
- CreateOSSChannelDetails
public static class CreateOSSChannelDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOSSChannelDetails.BuilderauthToken(String authToken)The authentication token to use when connecting to the Oracle Streaming Service.CreateOSSChannelDetails.BuilderbootstrapServers(String bootstrapServers)The Oracle Streaming Service bootstrap servers.CreateOSSChannelDetailsbuild()CreateOSSChannelDetails.Buildercopy(CreateOSSChannelDetails model)CreateOSSChannelDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)CreateOSSChannelDetails.Builderdescription(String description)CreateOSSChannelDetails.BuildereventSinkBotIds(List<String> eventSinkBotIds)The IDs of the Skills and Digital Assistants that the Channel is routed to.CreateOSSChannelDetails.BuilderfreeformTags(Map<String,String> freeformTags)CreateOSSChannelDetails.BuilderinboundMessageTopic(String inboundMessageTopic)The topic inbound messages are received on.CreateOSSChannelDetails.Buildername(String name)CreateOSSChannelDetails.BuilderoutboundMessageTopic(String outboundMessageTopic)The topic outbound messages are sent on.CreateOSSChannelDetails.BuildersaslMechanism(String saslMechanism)The SASL mechanmism to use when conecting to the Oracle Streaming Service.CreateOSSChannelDetails.BuildersecurityProtocol(String securityProtocol)The security protocol to use when conecting to the Oracle Streaming Service.CreateOSSChannelDetails.BuildersessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)CreateOSSChannelDetails.BuilderstreamPoolId(String streamPoolId)The stream pool OCI to use when connecting to the Oracle Streaming Service.CreateOSSChannelDetails.BuildertenancyName(String tenancyName)The tenancy to use when connecting to the Oracle Streaming Service.CreateOSSChannelDetails.BuilderuserName(String userName)The user name to use when connecting to the Oracle Streaming Service.
-
-
-
Method Detail
-
name
public CreateOSSChannelDetails.Builder name(String name)
-
description
public CreateOSSChannelDetails.Builder description(String description)
-
sessionExpiryDurationInMilliseconds
public CreateOSSChannelDetails.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
freeformTags
public CreateOSSChannelDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateOSSChannelDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
eventSinkBotIds
public CreateOSSChannelDetails.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 CreateOSSChannelDetails.Builder inboundMessageTopic(String inboundMessageTopic)
The topic inbound messages are received on.- Parameters:
inboundMessageTopic- the value to set- Returns:
- this builder
-
outboundMessageTopic
public CreateOSSChannelDetails.Builder outboundMessageTopic(String outboundMessageTopic)
The topic outbound messages are sent on.- Parameters:
outboundMessageTopic- the value to set- Returns:
- this builder
-
bootstrapServers
public CreateOSSChannelDetails.Builder bootstrapServers(String bootstrapServers)
The Oracle Streaming Service bootstrap servers.- Parameters:
bootstrapServers- the value to set- Returns:
- this builder
-
securityProtocol
public CreateOSSChannelDetails.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 CreateOSSChannelDetails.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 CreateOSSChannelDetails.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 CreateOSSChannelDetails.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 CreateOSSChannelDetails.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
-
authToken
public CreateOSSChannelDetails.Builder authToken(String authToken)
The authentication token to use when connecting to the Oracle Streaming Service.- Parameters:
authToken- the value to set- Returns:
- this builder
-
build
public CreateOSSChannelDetails build()
-
copy
public CreateOSSChannelDetails.Builder copy(CreateOSSChannelDetails model)
-
-