Class CreatePhoneCallRedirectRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.phonecallredirects.requests.CreatePhoneCallRedirectRequest.Builder
-
- All Implemented Interfaces:
CreatePhoneCallRedirectRequest._FinalStage,CreatePhoneCallRedirectRequest.PhoneStage
- Enclosing class:
- CreatePhoneCallRedirectRequest
public static final class CreatePhoneCallRedirectRequest.Builder extends java.lang.Object implements CreatePhoneCallRedirectRequest.PhoneStage, CreatePhoneCallRedirectRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePhoneCallRedirectRequestbuild()CreatePhoneCallRedirectRequest._FinalStagecustomAttributes(java.util.Map<java.lang.String,java.lang.Object> customAttributes)CreatePhoneCallRedirectRequest._FinalStagecustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)CreatePhoneCallRedirectRequest.Builderfrom(CreatePhoneCallRedirectRequest other)CreatePhoneCallRedirectRequest._FinalStagephone(java.lang.String phone)Phone number in E.164 format, that will receive the SMS to continue the conversation in the Messenger.
-
-
-
Method Detail
-
from
public CreatePhoneCallRedirectRequest.Builder from(CreatePhoneCallRedirectRequest other)
- Specified by:
fromin interfaceCreatePhoneCallRedirectRequest.PhoneStage
-
phone
public CreatePhoneCallRedirectRequest._FinalStage phone(@NotNull java.lang.String phone)
Phone number in E.164 format, that will receive the SMS to continue the conversation in the Messenger.
- Specified by:
phonein interfaceCreatePhoneCallRedirectRequest.PhoneStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreatePhoneCallRedirectRequest._FinalStage customAttributes(java.util.Map<java.lang.String,java.lang.Object> customAttributes)
- Specified by:
customAttributesin interfaceCreatePhoneCallRedirectRequest._FinalStage
-
customAttributes
public CreatePhoneCallRedirectRequest._FinalStage customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)
- Specified by:
customAttributesin interfaceCreatePhoneCallRedirectRequest._FinalStage
-
build
public CreatePhoneCallRedirectRequest build()
- Specified by:
buildin interfaceCreatePhoneCallRedirectRequest._FinalStage
-
-