Package com.oracle.bmc.oda.model
Class ApplicationChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.ApplicationChannel.Builder
-
- Enclosing class:
- ApplicationChannel
public static class ApplicationChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ApplicationChannel.Builder id(String id)
-
name
public ApplicationChannel.Builder name(String name)
-
description
public ApplicationChannel.Builder description(String description)
-
category
public ApplicationChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public ApplicationChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public ApplicationChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public ApplicationChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public ApplicationChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public ApplicationChannel.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public ApplicationChannel.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
outboundUrl
public ApplicationChannel.Builder outboundUrl(String outboundUrl)
The URL to send response and error messages to.- Parameters:
outboundUrl
- the value to set- Returns:
- this builder
-
isAuthenticatedUserId
public ApplicationChannel.Builder isAuthenticatedUserId(Boolean isAuthenticatedUserId)
True if the user id in the AIC message should be treated as an authenticated user id.- Parameters:
isAuthenticatedUserId
- the value to set- Returns:
- this builder
-
webhookUrl
public ApplicationChannel.Builder webhookUrl(String webhookUrl)
The URL to use to send messages to this channel.This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel.
- Parameters:
webhookUrl
- the value to set- Returns:
- this builder
-
build
public ApplicationChannel build()
-
copy
public ApplicationChannel.Builder copy(ApplicationChannel model)
-
-