Package com.oracle.bmc.oda.model
Class CreateTwilioChannelResult.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.CreateTwilioChannelResult.Builder
-
- Enclosing class:
- CreateTwilioChannelResult
public static class CreateTwilioChannelResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public CreateTwilioChannelResult.Builder id(String id)
-
name
public CreateTwilioChannelResult.Builder name(String name)
-
description
public CreateTwilioChannelResult.Builder description(String description)
-
category
public CreateTwilioChannelResult.Builder category(ChannelCategory category)
-
sessionExpiryDurationInMilliseconds
public CreateTwilioChannelResult.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
-
lifecycleState
public CreateTwilioChannelResult.Builder lifecycleState(LifecycleState lifecycleState)
-
timeCreated
public CreateTwilioChannelResult.Builder timeCreated(Date timeCreated)
-
timeUpdated
public CreateTwilioChannelResult.Builder timeUpdated(Date timeUpdated)
-
freeformTags
public CreateTwilioChannelResult.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateTwilioChannelResult.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
accountSID
public CreateTwilioChannelResult.Builder accountSID(String accountSID)
The Account SID for the Twilio number.- Parameters:
accountSID
- the value to set- Returns:
- this builder
-
phoneNumber
public CreateTwilioChannelResult.Builder phoneNumber(String phoneNumber)
The Twilio phone number.- Parameters:
phoneNumber
- the value to set- Returns:
- this builder
-
isMmsEnabled
public CreateTwilioChannelResult.Builder isMmsEnabled(Boolean isMmsEnabled)
Whether MMS is enabled for this channel or not.- Parameters:
isMmsEnabled
- the value to set- Returns:
- this builder
-
originalConnectorsUrl
public CreateTwilioChannelResult.Builder originalConnectorsUrl(String originalConnectorsUrl)
The original connectors URL (used for backward compatibility).- Parameters:
originalConnectorsUrl
- the value to set- Returns:
- this builder
-
botId
public CreateTwilioChannelResult.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.- Parameters:
botId
- the value to set- Returns:
- this builder
-
webhookUrl
public 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.
- Parameters:
webhookUrl
- the value to set- Returns:
- this builder
-
build
public CreateTwilioChannelResult build()
-
copy
public CreateTwilioChannelResult.Builder copy(CreateTwilioChannelResult model)
-
-