public static class CreateSlackChannelResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateSlackChannelResult.Builder id(String id)
public CreateSlackChannelResult.Builder name(String name)
public CreateSlackChannelResult.Builder description(String description)
public CreateSlackChannelResult.Builder category(ChannelCategory category)
public CreateSlackChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CreateSlackChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
public CreateSlackChannelResult.Builder timeCreated(Date timeCreated)
public CreateSlackChannelResult.Builder timeUpdated(Date timeUpdated)
public CreateSlackChannelResult.Builder freeformTags(Map<String,String> freeformTags)
public CreateSlackChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateSlackChannelResult.Builder clientId(String clientId)
The Slack Client Id for the Slack app.
clientId
- the value to setpublic CreateSlackChannelResult.Builder authSuccessUrl(String authSuccessUrl)
The URL to redirect to when authentication is successful.
authSuccessUrl
- the value to setpublic CreateSlackChannelResult.Builder authErrorUrl(String authErrorUrl)
The URL to redirect to when authentication is unsuccessful.
authErrorUrl
- the value to setpublic CreateSlackChannelResult.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic CreateSlackChannelResult.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 CreateSlackChannelResult build()
public CreateSlackChannelResult.Builder copy(CreateSlackChannelResult model)
Copyright © 2016–2024. All rights reserved.