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