public static class TestChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public TestChannel.Builder id(String id)
public TestChannel.Builder name(String name)
public TestChannel.Builder description(String description)
public TestChannel.Builder category(ChannelCategory category)
public TestChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public TestChannel.Builder lifecycleState(LifecycleState lifecycleState)
public TestChannel.Builder timeCreated(Date timeCreated)
public TestChannel.Builder timeUpdated(Date timeUpdated)
public TestChannel.Builder freeformTags(Map<String,String> freeformTags)
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.
webhookUrl
- the value to setpublic TestChannel build()
public TestChannel.Builder copy(TestChannel model)
Copyright © 2016–2024. All rights reserved.