Package com.intercom.api.types
Class PhoneSwitch.Builder
- java.lang.Object
-
- com.intercom.api.types.PhoneSwitch.Builder
-
- All Implemented Interfaces:
PhoneSwitch._FinalStage,PhoneSwitch.PhoneStage
- Enclosing class:
- PhoneSwitch
public static final class PhoneSwitch.Builder extends java.lang.Object implements PhoneSwitch.PhoneStage, PhoneSwitch._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhoneSwitchbuild()PhoneSwitch.Builderfrom(PhoneSwitch other)PhoneSwitch._FinalStagephone(java.lang.String phone)Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.
-
-
-
Method Detail
-
from
public PhoneSwitch.Builder from(PhoneSwitch other)
- Specified by:
fromin interfacePhoneSwitch.PhoneStage
-
phone
public PhoneSwitch._FinalStage phone(@NotNull java.lang.String phone)
Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.
- Specified by:
phonein interfacePhoneSwitch.PhoneStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public PhoneSwitch build()
- Specified by:
buildin interfacePhoneSwitch._FinalStage
-
-