Class DataEvent.Builder
java.lang.Object
com.intercom.api.resources.dataevents.types.DataEvent.Builder
- All Implemented Interfaces:
DataEvent._FinalStage,DataEvent.CreatedAtStage,DataEvent.EventNameStage
- Enclosing class:
DataEvent
public static final class DataEvent.Builder
extends Object
implements DataEvent.EventNameStage, DataEvent.CreatedAtStage, DataEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdAt(int createdAt) The time the event occurred as a UTC Unix timestampAn email address for your user.The name of the event that occurred.Your identifier for a lead or a user.intercomUserId(String intercomUserId) The Intercom identifier for the user.intercomUserId(Optional<String> intercomUserId) Optional metadata about the event.The type of the objectYour identifier for the user.
-
Method Details
-
from
- Specified by:
fromin interfaceDataEvent.EventNameStage
-
eventName
The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example
updated-plan.- Specified by:
eventNamein interfaceDataEvent.EventNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
The time the event occurred as a UTC Unix timestamp
- Specified by:
createdAtin interfaceDataEvent.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
Optional metadata about the event.
- Specified by:
metadatain interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceDataEvent._FinalStage
-
email
An email address for your user. An email should only be used where your application uses email to uniquely identify users.
- Specified by:
emailin interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
- Specified by:
emailin interfaceDataEvent._FinalStage
-
intercomUserId
The Intercom identifier for the user.
- Specified by:
intercomUserIdin interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
intercomUserId
- Specified by:
intercomUserIdin interfaceDataEvent._FinalStage
-
id
Your identifier for a lead or a user.
- Specified by:
idin interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
- Specified by:
idin interfaceDataEvent._FinalStage
-
userId
Your identifier for the user.
- Specified by:
userIdin interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
- Specified by:
userIdin interfaceDataEvent._FinalStage
-
type
The type of the object
- Specified by:
typein interfaceDataEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
- Specified by:
typein interfaceDataEvent._FinalStage
-
build
- Specified by:
buildin interfaceDataEvent._FinalStage
-