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