Class ServiceCloudChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.ServiceCloudChannel.Builder
-
- Enclosing class:
- ServiceCloudChannel
public static class ServiceCloudChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ServiceCloudChannel.Builder id(String id)
-
name
public ServiceCloudChannel.Builder name(String name)
-
description
public ServiceCloudChannel.Builder description(String description)
-
category
public ServiceCloudChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public ServiceCloudChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public ServiceCloudChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public ServiceCloudChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public ServiceCloudChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public ServiceCloudChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public ServiceCloudChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
domainName
public ServiceCloudChannel.Builder domainName(String domainName)
The domain name.If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
- Parameters:
domainName
- the value to set- Returns:
- this builder
-
hostNamePrefix
public ServiceCloudChannel.Builder hostNamePrefix(String hostNamePrefix)
The host prefix.If you have access to Oracle B2C Service, you can derive this value from the URL that you use to launch the Agent Browser User Interface. For example, if the URL is sitename.exampledomain.com, then the host name prefix is sitename and the domain name is exampledomain.com.
If the channel is connecting to Oracle B2C Service version 19A or later, and you have multiple interfaces, then you must include the interface ID in the host (site) name . For example, for the interface that has an ID of 2, you would use something like sitename-2.exampledomain.com.
- Parameters:
hostNamePrefix
- the value to set- Returns:
- this builder
-
userName
public ServiceCloudChannel.Builder userName(String userName)
The user name for an Oracle B2C Service staff member who has the necessary profile permissions.- Parameters:
userName
- the value to set- Returns:
- this builder
-
clientType
public ServiceCloudChannel.Builder clientType(ServiceCloudClientType clientType)
The type of Service Cloud client.- Parameters:
clientType
- the value to set- Returns:
- this builder
-
build
public ServiceCloudChannel build()
-
copy
public ServiceCloudChannel.Builder copy(ServiceCloudChannel model)
-
-