Package com.oracle.bmc.oda.model
Class CreateWebChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateWebChannelResult.Builder
-
- Enclosing class:
- CreateWebChannelResult
public static class CreateWebChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateWebChannelResult.Builder id(String id)
-
name
public CreateWebChannelResult.Builder name(String name)
-
description
public CreateWebChannelResult.Builder description(String description)
-
category
public CreateWebChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateWebChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateWebChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateWebChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateWebChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateWebChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateWebChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
public CreateWebChannelResult.Builder secretKey(String secretKey)
The secret key used to verify the authenticity of received messages.This is only returned this once. If it is lost the keys will need to be rotated to generate a new key.
- Parameters:
secretKey
- the value to set- Returns:
- this builder
-
maxTokenExpirationTimeInMinutes
public CreateWebChannelResult.Builder maxTokenExpirationTimeInMinutes(Long maxTokenExpirationTimeInMinutes)
The maximum time until the token expires (in minutes).- Parameters:
maxTokenExpirationTimeInMinutes
- the value to set- Returns:
- this builder
-
isClientAuthenticationEnabled
public CreateWebChannelResult.Builder isClientAuthenticationEnabled(Boolean isClientAuthenticationEnabled)
Whether client authentication is enabled or not.- Parameters:
isClientAuthenticationEnabled
- the value to set- Returns:
- this builder
-
allowedDomains
public CreateWebChannelResult.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
-
botId
public CreateWebChannelResult.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 CreateWebChannelResult build()
-
copy
public CreateWebChannelResult.Builder copy(CreateWebChannelResult model)
-
-