Class CalloutRequestParameters.Builder<B extends CalloutRequestParameters.Builder<B>>
java.lang.Object
com.sinch.sdk.domains.voice.models.requests.CalloutRequestParameters.Builder<B>
- Direct Known Subclasses:
CalloutRequestParametersConference.Builder
,CalloutRequestParametersCustom.Builder
,CalloutRequestParametersTTS.Builder
- Enclosing class:
CalloutRequestParameters
public static class CalloutRequestParameters.Builder<B extends CalloutRequestParameters.Builder<B>>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetCli
(E164PhoneNumber cli) setDestination
(Destination destination)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setDestination
- Parameters:
destination
- The type of device and number or endpoint to call- Returns:
- current builder
-
setCli
- Parameters:
cli
- The number that will be displayed as the incoming caller. To set your own CLI, you may use your verified number or your Dashboard number- Returns:
- current builder
-
setDtfm
- Parameters:
dtfm
- When the destination picks up, this DTMF tones will be played to the callee.- Returns:
- current builder
-
setCustom
- Parameters:
custom
- Custom data- Returns:
- current builder
-