Package com.oracle.bmc.oda.model
Class TestChannel.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.TestChannel.Builder
-
- Enclosing class:
- TestChannel
public static class TestChannel.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestChannelbuild()TestChannel.Buildercategory(ChannelCategory category)TestChannel.Buildercopy(TestChannel model)TestChannel.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)TestChannel.Builderdescription(String description)TestChannel.BuilderfreeformTags(Map<String,String> freeformTags)TestChannel.Builderid(String id)TestChannel.BuilderlifecycleState(LifecycleState lifecycleState)TestChannel.Buildername(String name)TestChannel.BuildersessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)TestChannel.BuildertimeCreated(Date timeCreated)TestChannel.BuildertimeUpdated(Date timeUpdated)TestChannel.BuilderwebhookUrl(String webhookUrl)The URL to use to send messages to this channel.
-
-
-
Method Detail
-
id
public TestChannel.Builder id(String id)
-
name
public TestChannel.Builder name(String name)
-
description
public TestChannel.Builder description(String description)
-
category
public TestChannel.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public TestChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public TestChannel.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public TestChannel.Builder timeCreated(Date timeCreated)
-
timeUpdated
public TestChannel.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public TestChannel.Builder freeformTags(Map<String,String> freeformTags)
-
webhookUrl
public TestChannel.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 TestChannel build()
-
copy
public TestChannel.Builder copy(TestChannel model)
-
-