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