Class CreateDataEventRequest.WithEmail.Builder
- java.lang.Object
-
- com.intercom.api.types.CreateDataEventRequest.WithEmail.Builder
-
- All Implemented Interfaces:
CreateDataEventRequest.WithEmail._FinalStage,CreateDataEventRequest.WithEmail.CreatedAtStage,CreateDataEventRequest.WithEmail.EmailStage,CreateDataEventRequest.WithEmail.EventNameStage
- Enclosing class:
- CreateDataEventRequest.WithEmail
public static final class CreateDataEventRequest.WithEmail.Builder extends java.lang.Object implements CreateDataEventRequest.WithEmail.EmailStage, CreateDataEventRequest.WithEmail.EventNameStage, CreateDataEventRequest.WithEmail.CreatedAtStage, CreateDataEventRequest.WithEmail._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDataEventRequest.WithEmailbuild()CreateDataEventRequest.WithEmail._FinalStagecreatedAt(int createdAt)The time the event occurred as a UTC Unix timestampCreateDataEventRequest.WithEmail.EventNameStageemail(java.lang.String email)An email address for your user.CreateDataEventRequest.WithEmail.CreatedAtStageeventName(java.lang.String eventName)The name of the event that occurred.CreateDataEventRequest.WithEmail.Builderfrom(CreateDataEventRequest.WithEmail other)CreateDataEventRequest.WithEmail._FinalStagemetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Optional metadata about the event.CreateDataEventRequest.WithEmail._FinalStagemetadata(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> metadata)Optional metadata about the event.
-
-
-
Method Detail
-
from
public CreateDataEventRequest.WithEmail.Builder from(CreateDataEventRequest.WithEmail other)
- Specified by:
fromin interfaceCreateDataEventRequest.WithEmail.EmailStage
-
email
public CreateDataEventRequest.WithEmail.EventNameStage email(@NotNull java.lang.String email)
An email address for your user. An email should only be used where your application uses email to uniquely identify users.
An email address for your user. An email should only be used where your application uses email to uniquely identify users.
- Specified by:
emailin interfaceCreateDataEventRequest.WithEmail.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventName
public CreateDataEventRequest.WithEmail.CreatedAtStage eventName(@NotNull java.lang.String 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.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 interfaceCreateDataEventRequest.WithEmail.EventNameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public CreateDataEventRequest.WithEmail._FinalStage createdAt(int createdAt)
The time the event occurred as a UTC Unix timestamp
The time the event occurred as a UTC Unix timestamp
- Specified by:
createdAtin interfaceCreateDataEventRequest.WithEmail.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
public CreateDataEventRequest.WithEmail._FinalStage metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Optional metadata about the event.
- Specified by:
metadatain interfaceCreateDataEventRequest.WithEmail._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
public CreateDataEventRequest.WithEmail._FinalStage metadata(java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> metadata)
Optional metadata about the event.
- Specified by:
metadatain interfaceCreateDataEventRequest.WithEmail._FinalStage
-
build
public CreateDataEventRequest.WithEmail build()
- Specified by:
buildin interfaceCreateDataEventRequest.WithEmail._FinalStage
-
-