Package com.intercom.api.types
Class ContactUnarchived.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactUnarchived.Builder
-
- All Implemented Interfaces:
ContactUnarchived._FinalStage,ContactUnarchived.ArchivedStage,ContactUnarchived.IdStage
- Enclosing class:
- ContactUnarchived
public static final class ContactUnarchived.Builder extends java.lang.Object implements ContactUnarchived.IdStage, ContactUnarchived.ArchivedStage, ContactUnarchived._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactUnarchived._FinalStagearchived(boolean archived)Whether the contact is archived or not.ContactUnarchivedbuild()ContactUnarchived._FinalStageexternalId(java.lang.String externalId)The unique identifier for the contact which is provided by the Client.ContactUnarchived._FinalStageexternalId(java.util.Optional<java.lang.String> externalId)The unique identifier for the contact which is provided by the Client.ContactUnarchived.Builderfrom(ContactUnarchived other)ContactUnarchived.ArchivedStageid(java.lang.String id)The unique identifier for the contact which is given by Intercom.
-
-
-
Method Detail
-
from
public ContactUnarchived.Builder from(ContactUnarchived other)
- Specified by:
fromin interfaceContactUnarchived.IdStage
-
id
public ContactUnarchived.ArchivedStage 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 interfaceContactUnarchived.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
public ContactUnarchived._FinalStage archived(boolean archived)
Whether the contact is archived or not.Whether the contact is archived or not.
- Specified by:
archivedin interfaceContactUnarchived.ArchivedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
public ContactUnarchived._FinalStage externalId(java.lang.String externalId)
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContactUnarchived._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
public ContactUnarchived._FinalStage externalId(java.util.Optional<java.lang.String> externalId)
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContactUnarchived._FinalStage
-
build
public ContactUnarchived build()
- Specified by:
buildin interfaceContactUnarchived._FinalStage
-
-