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