public static class TwilioChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public TwilioChannel.Builder id(String id)
public TwilioChannel.Builder name(String name)
public TwilioChannel.Builder description(String description)
public TwilioChannel.Builder category(ChannelCategory category)
public TwilioChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public TwilioChannel.Builder lifecycleState(LifecycleState lifecycleState)
public TwilioChannel.Builder timeCreated(Date timeCreated)
public TwilioChannel.Builder timeUpdated(Date timeUpdated)
public TwilioChannel.Builder freeformTags(Map<String,String> freeformTags)
public TwilioChannel.Builder accountSID(String accountSID)
The Account SID for the Twilio number.
accountSID
- the value to setpublic TwilioChannel.Builder phoneNumber(String phoneNumber)
The Twilio phone number.
phoneNumber
- the value to setpublic TwilioChannel.Builder isMmsEnabled(Boolean isMmsEnabled)
Whether MMS is enabled for this channel or not.
isMmsEnabled
- the value to setpublic TwilioChannel.Builder originalConnectorsUrl(String originalConnectorsUrl)
The original connectors URL (used for backward compatibility).
originalConnectorsUrl
- the value to setpublic TwilioChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic TwilioChannel.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 TwilioChannel build()
public TwilioChannel.Builder copy(TwilioChannel model)
Copyright © 2016–2024. All rights reserved.