Package com.oracle.bmc.oda.model
Class WebChannel.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.model.WebChannel.Builder
 
- 
- Enclosing class:
- WebChannel
 
 public static class WebChannel.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic WebChannel.Builder id(String id) 
 - 
namepublic WebChannel.Builder name(String name) 
 - 
descriptionpublic WebChannel.Builder description(String description) 
 - 
categorypublic WebChannel.Builder category(ChannelCategory category) 
 - 
sessionExpiryDurationInMillisecondspublic WebChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds) 
 - 
lifecycleStatepublic WebChannel.Builder lifecycleState(LifecycleState lifecycleState) 
 - 
timeCreatedpublic WebChannel.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic WebChannel.Builder timeUpdated(Date timeUpdated) 
 - 
freeformTagspublic WebChannel.Builder freeformTags(Map<String,String> freeformTags) 
 - 
maxTokenExpirationTimeInMinutespublic WebChannel.Builder maxTokenExpirationTimeInMinutes(Long maxTokenExpirationTimeInMinutes) The maximum time until the token expires (in minutes).- Parameters:
- maxTokenExpirationTimeInMinutes- the value to set
- Returns:
- this builder
 
 - 
isClientAuthenticationEnabledpublic WebChannel.Builder isClientAuthenticationEnabled(Boolean isClientAuthenticationEnabled) Whether client authentication is enabled or not.- Parameters:
- isClientAuthenticationEnabled- the value to set
- Returns:
- this builder
 
 - 
allowedDomainspublic WebChannel.Builder allowedDomains(String allowedDomains) A comma-delimited whitelist of allowed domains.The channel will only communicate with the sites from the domains that you add to this list. For example, *.corp.example.com, *.hdr.example.com. Entering a single asterisk (*) allows unrestricted access to the channel from any domain. Typically, you'd only enter a single asterisk during development. For production, you would add an allowlist of domains. - Parameters:
- allowedDomains- the value to set
- Returns:
- this builder
 
 - 
botIdpublic WebChannel.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
 
 - 
buildpublic WebChannel build() 
 - 
copypublic WebChannel.Builder copy(WebChannel model) 
 
- 
 
-