Package com.oracle.bmc.oda.model
Class CreateApplicationChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateApplicationChannelResult.Builder
-
- Enclosing class:
- CreateApplicationChannelResult
public static class CreateApplicationChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateApplicationChannelResult.Builder id(String id)
-
name
public CreateApplicationChannelResult.Builder name(String name)
-
description
public CreateApplicationChannelResult.Builder description(String description)
-
category
public CreateApplicationChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateApplicationChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateApplicationChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateApplicationChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateApplicationChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateApplicationChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateApplicationChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
public CreateApplicationChannelResult.Builder secretKey(char[] 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
-
secretKey
public CreateApplicationChannelResult.Builder secretKey(String secretKey)
-
outboundUrl
public CreateApplicationChannelResult.Builder outboundUrl(String outboundUrl)
The URL to send response and error messages to.- Parameters:
outboundUrl- the value to set- Returns:
- this builder
-
isAuthenticatedUserId
public CreateApplicationChannelResult.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 CreateApplicationChannelResult.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 CreateApplicationChannelResult build()
-
copy
public CreateApplicationChannelResult.Builder copy(CreateApplicationChannelResult model)
-
-