Package com.oracle.bmc.oda.model
Class CreateTestChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateTestChannelResult.Builder
-
- Enclosing class:
- CreateTestChannelResult
public static class CreateTestChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateTestChannelResult.Builder id(String id)
-
name
public CreateTestChannelResult.Builder name(String name)
-
description
public CreateTestChannelResult.Builder description(String description)
-
category
public CreateTestChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateTestChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateTestChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateTestChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateTestChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateTestChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateTestChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
secretKey
public CreateTestChannelResult.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 CreateTestChannelResult.Builder secretKey(String secretKey)
-
webhookUrl
public CreateTestChannelResult.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 CreateTestChannelResult build()
-
copy
public CreateTestChannelResult.Builder copy(CreateTestChannelResult model)
-
-