public static class OsvcChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public OsvcChannel.Builder id(String id)
public OsvcChannel.Builder name(String name)
public OsvcChannel.Builder description(String description)
public OsvcChannel.Builder category(ChannelCategory category)
public OsvcChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public OsvcChannel.Builder lifecycleState(LifecycleState lifecycleState)
public OsvcChannel.Builder timeCreated(Date timeCreated)
public OsvcChannel.Builder timeUpdated(Date timeUpdated)
public OsvcChannel.Builder freeformTags(Map<String,String> freeformTags)
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.
host
- the value to setpublic OsvcChannel.Builder port(String port)
The port.
port
- the value to setpublic OsvcChannel.Builder userName(String userName)
The user name for the digital-assistant agent.
userName
- the value to setpublic OsvcChannel.Builder totalSessionCount(Integer totalSessionCount)
The total session count.
totalSessionCount
- the value to setpublic OsvcChannel.Builder channelService(OsvcServiceType channelService)
The type of OSVC service.
channelService
- the value to setpublic OsvcChannel.Builder authenticationProviderName(String authenticationProviderName)
The name of the Authentication Provider to use to authenticate the user.
authenticationProviderName
- the value to setpublic OsvcChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic OsvcChannel build()
public OsvcChannel.Builder copy(OsvcChannel model)
Copyright © 2016–2024. All rights reserved.