public static class CreateApplicationChannelResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateApplicationChannelResult.Builder id(String id)
public CreateApplicationChannelResult.Builder name(String name)
public CreateApplicationChannelResult.Builder description(String description)
public CreateApplicationChannelResult.Builder category(ChannelCategory category)
public CreateApplicationChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CreateApplicationChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
public CreateApplicationChannelResult.Builder timeCreated(Date timeCreated)
public CreateApplicationChannelResult.Builder timeUpdated(Date timeUpdated)
public CreateApplicationChannelResult.Builder freeformTags(Map<String,String> freeformTags)
public CreateApplicationChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateApplicationChannelResult.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 CreateApplicationChannelResult.Builder outboundUrl(String outboundUrl)
The URL to send response and error messages to.
outboundUrl
- the value to setpublic CreateApplicationChannelResult.Builder isAuthenticatedUserId(Boolean isAuthenticatedUserId)
True if the user id in the AIC message should be treated as an authenticated user id.
isAuthenticatedUserId
- the value to setpublic CreateApplicationChannelResult.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 CreateApplicationChannelResult build()
public CreateApplicationChannelResult.Builder copy(CreateApplicationChannelResult model)
Copyright © 2016–2024. All rights reserved.