Class CallInformation.Builder
java.lang.Object
com.sinch.sdk.domains.voice.models.response.CallInformation.Builder
- Enclosing class:
CallInformation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instancesetDomain
(DomainType domain) setDuration
(Integer duration) setFrom
(Destination from) setReason
(CallReasonType reason) setResult
(CallResultType result) setStatus
(CallStatusType status) setTimeStamp
(Instant timeStamp) setTo
(Destination to) setUserRate
(Price userRate)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setFrom
- Returns:
- Current builder
- See Also:
-
setTo
- Returns:
- Current builder
- See Also:
-
setDomain
- Returns:
- Current builder
- See Also:
-
setCallId
- Returns:
- Current builder
- See Also:
-
setDuration
- Returns:
- Current builder
- See Also:
-
setStatus
- Returns:
- Current builder
- See Also:
-
setResult
- Returns:
- Current builder
- See Also:
-
setReason
- Returns:
- Current builder
- See Also:
-
setTimeStamp
- Returns:
- Current builder
- See Also:
-
setCustom
- Returns:
- Current builder
- See Also:
-
setUserRate
- Returns:
- Current builder
- See Also:
-
setDebit
- Returns:
- Current builder
- See Also:
-
build
Build the instance- Returns:
- Built instance
-