Interface IncomingCallEvent.Builder
- All Superinterfaces:
VoiceWebhookCallEvent.Builder
,VoiceWebhookEvent.Builder<IncomingCallEvent.Builder>
- Enclosing interface:
IncomingCallEvent
public static interface IncomingCallEvent.Builder
extends VoiceWebhookEvent.Builder<IncomingCallEvent.Builder>, VoiceWebhookCallEvent.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetApplicationKey
(String applicationKey) see gettersetCallHeaders
(List<CallHeader> callHeaders) see gettersetCallResourceUrl
(String callResourceUrl) see gettersee gettersee gettersee gettersetDuration
(Integer duration) see gettersetOriginationType
(Domain originationType) see gettersee 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:
-
setCallResourceUrl
see getter- Parameters:
callResourceUrl
- see getter- Returns:
- Current builder
- See Also:
-
setUserRate
see getter- Parameters:
userRate
- see getter- Returns:
- Current builder
- See Also:
-
setCli
see getter- Parameters:
cli
- see getter- Returns:
- Current builder
- See Also:
-
setTo
see getter- Parameters:
to
- see getter- Returns:
- Current builder
- See Also:
-
setDomain
see getter- Parameters:
domain
- see getter- Returns:
- Current builder
- See Also:
-
setOriginationType
see getter- Parameters:
originationType
- see getter- Returns:
- Current builder
- See Also:
-
setDuration
see getter- Parameters:
duration
- see getter- Returns:
- Current builder
- See Also:
-
setRdnis
see getter- Parameters:
rdnis
- see getter- Returns:
- Current builder
- See Also:
-
setCallHeaders
see getter- Parameters:
callHeaders
- see getter- Returns:
- Current builder
- See Also:
-
build
IncomingCallEvent build()Create instance- Specified by:
build
in interfaceVoiceWebhookCallEvent.Builder
- Specified by:
build
in interfaceVoiceWebhookEvent.Builder<IncomingCallEvent.Builder>
- Returns:
- The instance build with current builder values
-