Class Identity

java.lang.Object
io.quarkus.analytics.dto.config.Identity
All Implemented Interfaces:
SegmentContext, Serializable

public class Identity extends Object implements Serializable, SegmentContext
Identity of the user at the upstream collection tool.
See Also:
  • Constructor Details

  • Method Details

    • builder

      public static Identity.IdentityBuilder builder()
    • getUserId

      public String getUserId()
      The UUID of the user.
      Returns:
    • setUserId

      public void setUserId(String userId)
    • getContext

      public Map<String,Object> getContext()
      The context of the user. See: AnalyticsService.createContextMap() (package friendly) for details.
      Specified by:
      getContext in interface SegmentContext
      Returns:
    • setContext

      public void setContext(Map<String,Object> context)
    • getTimestamp

      public Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(Instant timestamp)