Interface DisconnectedCallEvent.Builder
- All Superinterfaces:
VoiceWebhookCallEvent.Builder
,VoiceWebhookEvent.Builder<DisconnectedCallEvent.Builder>
- Enclosing interface:
DisconnectedCallEvent
public static interface DisconnectedCallEvent.Builder
extends VoiceWebhookEvent.Builder<DisconnectedCallEvent.Builder>, VoiceWebhookCallEvent.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetApplicationKey
(String applicationKey) see gettersetCallHeaders
(List<CallHeader> callHeaders) see gettersee gettersee gettersetDuration
(Integer duration) see gettersee gettersee gettersetResult
(CallResult result) see gettersetTimestamp
(Instant timestamp) see gettersetTo
(Destination to) see gettersetUserRate
(Price userRate) see getterMethods inherited from interface com.sinch.sdk.domains.voice.models.v1.webhooks.VoiceWebhookEvent.Builder
setCallid, setVersion
-
Method Details
-
setTimestamp
see getter- Specified by:
setTimestamp
in interfaceVoiceWebhookCallEvent.Builder
- Parameters:
timestamp
- see getter- Returns:
- Current builder
- See Also:
-
setCustom
see getter- Specified by:
setCustom
in interfaceVoiceWebhookCallEvent.Builder
- Parameters:
custom
- see getter- Returns:
- Current builder
- See Also:
-
setApplicationKey
see getter- Specified by:
setApplicationKey
in interfaceVoiceWebhookCallEvent.Builder
- Parameters:
applicationKey
- see getter- Returns:
- Current builder
- See Also:
-
setReason
see getter- Parameters:
reason
- see getter- Returns:
- Current builder
- See Also:
-
setResult
see getter- Parameters:
result
- see getter- Returns:
- Current builder
- See Also:
-
setDebit
see getter- Parameters:
debit
- see getter- Returns:
- Current builder
- See Also:
-
setUserRate
see getter- Parameters:
userRate
- see getter- Returns:
- Current builder
- See Also:
-
setTo
see getter- Parameters:
to
- see getter- Returns:
- Current builder
- See Also:
-
setDuration
see getter- Parameters:
duration
- see getter- Returns:
- Current builder
- See Also:
-
setFrom
see getter- Parameters:
from
- see getter- Returns:
- Current builder
- See Also:
-
setCallHeaders
see getter- Parameters:
callHeaders
- see getter- Returns:
- Current builder
- See Also:
-
build
DisconnectedCallEvent build()Create instance- Specified by:
build
in interfaceVoiceWebhookCallEvent.Builder
- Specified by:
build
in interfaceVoiceWebhookEvent.Builder<DisconnectedCallEvent.Builder>
- Returns:
- The instance build with current builder values
-