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 java.lang.Object implements ContactReference.IdStage, ContactReference._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactReferencebuild()ContactReference._FinalStageexternalId(java.lang.String externalId)The unique identifier for the contact which is provided by the Client.ContactReference._FinalStageexternalId(java.util.Optional<java.lang.String> externalId)The unique identifier for the contact which is provided by the Client.ContactReference.Builderfrom(ContactReference other)ContactReference._FinalStageid(java.lang.String id)The unique identifier for the contact which is given by Intercom.
-
-
-
Method Detail
-
from
public ContactReference.Builder from(ContactReference other)
- Specified by:
fromin interfaceContactReference.IdStage
-
id
public ContactReference._FinalStage id(@NotNull java.lang.String id)
The unique identifier for the contact which is given by Intercom.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
public ContactReference._FinalStage externalId(java.lang.String 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
public ContactReference._FinalStage externalId(java.util.Optional<java.lang.String> externalId)
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContactReference._FinalStage
-
build
public ContactReference build()
- Specified by:
buildin interfaceContactReference._FinalStage
-
-