public static class CreateFacebookChannelResult.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateFacebookChannelResult.Builder id(String id)
public CreateFacebookChannelResult.Builder name(String name)
public CreateFacebookChannelResult.Builder description(String description)
public CreateFacebookChannelResult.Builder category(ChannelCategory category)
public CreateFacebookChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public CreateFacebookChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
public CreateFacebookChannelResult.Builder timeCreated(Date timeCreated)
public CreateFacebookChannelResult.Builder timeUpdated(Date timeUpdated)
public CreateFacebookChannelResult.Builder freeformTags(Map<String,String> freeformTags)
public CreateFacebookChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateFacebookChannelResult.Builder verifyToken(String verifyToken)
The Facebook verify token. This is used by Facebook when verifying the webhook channel. This is only returned this once. If it is lost the keys will need to be rotated to generate a new verify token.
verifyToken
- the value to setpublic CreateFacebookChannelResult.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic CreateFacebookChannelResult.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 CreateFacebookChannelResult build()
public CreateFacebookChannelResult.Builder copy(CreateFacebookChannelResult model)
Copyright © 2016–2024. All rights reserved.