Package com.oracle.bmc.oda.model
Class OsvcChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.OsvcChannel.Builder
-
- Enclosing class:
- OsvcChannel
public static class OsvcChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public OsvcChannel.Builder id(String id)
-
name
public OsvcChannel.Builder name(String name)
-
description
public OsvcChannel.Builder description(String description)
-
category
public OsvcChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public OsvcChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public OsvcChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public OsvcChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public OsvcChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public OsvcChannel.Builder freeformTags(Map<String,String> freeformTags)
-
host
public OsvcChannel.Builder host(String host)
The host.For OSVC, you can derive these values from the URL that you use to launch the Agent Browser User Interface or the chat launch page. For example, if the URL is https://sitename.exampledomain.com/app/chat/chat_launch, then the host is sitename.exampledomain.com.
For FUSION, this is the host portion of your Oracle Applications Cloud (Fusion) instance's URL. For example: sitename.exampledomain.com.
- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public OsvcChannel.Builder port(String port)
The port.- Parameters:
port
- the value to set- Returns:
- this builder
-
userName
public OsvcChannel.Builder userName(String userName)
The user name for the digital-assistant agent.- Parameters:
userName
- the value to set- Returns:
- this builder
-
totalSessionCount
public OsvcChannel.Builder totalSessionCount(Integer totalSessionCount)
The total session count.- Parameters:
totalSessionCount
- the value to set- Returns:
- this builder
-
channelService
public OsvcChannel.Builder channelService(OsvcServiceType channelService)
The type of OSVC service.- Parameters:
channelService
- the value to set- Returns:
- this builder
-
authenticationProviderName
public OsvcChannel.Builder authenticationProviderName(String authenticationProviderName)
The name of the Authentication Provider to use to authenticate the user.- Parameters:
authenticationProviderName
- the value to set- Returns:
- this builder
-
botId
public OsvcChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.- Parameters:
botId
- the value to set- Returns:
- this builder
-
build
public OsvcChannel build()
-
copy
public OsvcChannel.Builder copy(OsvcChannel model)
-
-