Package com.intercom.api.types
Class ContactReference.Builder
java.lang.Object
com.intercom.api.types.ContactReference.Builder
- All Implemented Interfaces:
ContactReference._FinalStage,ContactReference.IdStage
- Enclosing class:
ContactReference
public static final class ContactReference.Builder
extends Object
implements ContactReference.IdStage, ContactReference._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()externalId(String externalId) The unique identifier for the contact which is provided by the Client.externalId(Optional<String> externalId) from(ContactReference other) The unique identifier for the contact which is given by Intercom.
-
Method Details
-
from
- Specified by:
fromin interfaceContactReference.IdStage
-
id
The unique identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceContactReference.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContactReference._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
- Specified by:
externalIdin interfaceContactReference._FinalStage
-
build
- Specified by:
buildin interfaceContactReference._FinalStage
-