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 TestChannel
build()
TestChannel.Builder
category(ChannelCategory category)
TestChannel.Builder
copy(TestChannel model)
TestChannel.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
TestChannel.Builder
description(String description)
TestChannel.Builder
freeformTags(Map<String,String> freeformTags)
TestChannel.Builder
id(String id)
TestChannel.Builder
lifecycleState(LifecycleState lifecycleState)
TestChannel.Builder
name(String name)
TestChannel.Builder
sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
TestChannel.Builder
timeCreated(Date timeCreated)
TestChannel.Builder
timeUpdated(Date timeUpdated)
TestChannel.Builder
webhookUrl(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)
-
-