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