Class RegisterFinVoiceCallRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.RegisterFinVoiceCallRequest.Builder
-
- All Implemented Interfaces:
RegisterFinVoiceCallRequest._FinalStage,RegisterFinVoiceCallRequest.CallIdStage,RegisterFinVoiceCallRequest.PhoneNumberStage
- Enclosing class:
- RegisterFinVoiceCallRequest
public static final class RegisterFinVoiceCallRequest.Builder extends java.lang.Object implements RegisterFinVoiceCallRequest.PhoneNumberStage, RegisterFinVoiceCallRequest.CallIdStage, RegisterFinVoiceCallRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterFinVoiceCallRequestbuild()RegisterFinVoiceCallRequest._FinalStagecallId(java.lang.String callId)External call identifier from the call providerRegisterFinVoiceCallRequest._FinalStagedata(java.util.Map<java.lang.String,java.lang.Object> data)Additional metadata about the callRegisterFinVoiceCallRequest._FinalStagedata(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> data)Additional metadata about the callRegisterFinVoiceCallRequest.Builderfrom(RegisterFinVoiceCallRequest other)RegisterFinVoiceCallRequest.CallIdStagephoneNumber(java.lang.String phoneNumber)Phone number in E.164 format for the callRegisterFinVoiceCallRequest._FinalStagesource(RegisterFinVoiceCallRequest.Source source)Source of the call.RegisterFinVoiceCallRequest._FinalStagesource(java.util.Optional<RegisterFinVoiceCallRequest.Source> source)Source of the call.
-
-
-
Method Detail
-
from
public RegisterFinVoiceCallRequest.Builder from(RegisterFinVoiceCallRequest other)
- Specified by:
fromin interfaceRegisterFinVoiceCallRequest.PhoneNumberStage
-
phoneNumber
public RegisterFinVoiceCallRequest.CallIdStage phoneNumber(@NotNull java.lang.String phoneNumber)
Phone number in E.164 format for the call
Phone number in E.164 format for the call
- Specified by:
phoneNumberin interfaceRegisterFinVoiceCallRequest.PhoneNumberStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
callId
public RegisterFinVoiceCallRequest._FinalStage callId(@NotNull java.lang.String callId)
External call identifier from the call provider
External call identifier from the call provider
- Specified by:
callIdin interfaceRegisterFinVoiceCallRequest.CallIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public RegisterFinVoiceCallRequest._FinalStage data(java.util.Map<java.lang.String,java.lang.Object> data)
Additional metadata about the call
- Specified by:
datain interfaceRegisterFinVoiceCallRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public RegisterFinVoiceCallRequest._FinalStage data(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> data)
Additional metadata about the call
- Specified by:
datain interfaceRegisterFinVoiceCallRequest._FinalStage
-
source
public RegisterFinVoiceCallRequest._FinalStage source(RegisterFinVoiceCallRequest.Source source)
Source of the call. Can be "five9", "zoom_phone", or defaults to "aws_connect"
- Specified by:
sourcein interfaceRegisterFinVoiceCallRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
source
public RegisterFinVoiceCallRequest._FinalStage source(java.util.Optional<RegisterFinVoiceCallRequest.Source> source)
Source of the call. Can be "five9", "zoom_phone", or defaults to "aws_connect"
- Specified by:
sourcein interfaceRegisterFinVoiceCallRequest._FinalStage
-
build
public RegisterFinVoiceCallRequest build()
- Specified by:
buildin interfaceRegisterFinVoiceCallRequest._FinalStage
-
-