Interface SubscriptionEventItem.Builder

  • Method Details

    • profileId

      SubscriptionEventItem.Builder profileId(String profileId)

      The unique identifier of a customer profile.

      Parameters:
      profileId - The unique identifier of a customer profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      SubscriptionEventItem.Builder updatedAt(Instant updatedAt)

      The timestamp of when the membership change was detected.

      Parameters:
      updatedAt - The timestamp of when the membership change was detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventType

      SubscriptionEventItem.Builder eventType(String eventType)

      The type of event that triggered the membership change. The following are valid values:

      • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

      • SCHEDULE: Event generated during a scheduled execution.

      Parameters:
      eventType - The type of event that triggered the membership change. The following are valid values:

      • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

      • SCHEDULE: Event generated during a scheduled execution.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventType

      The type of event that triggered the membership change. The following are valid values:

      • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

      • SCHEDULE: Event generated during a scheduled execution.

      Parameters:
      eventType - The type of event that triggered the membership change. The following are valid values:

      • LIVE: Real-time event triggered by a profile or calculated attribute change (Classic segments only).

      • SCHEDULE: Event generated during a scheduled execution.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • event

      Whether the profile joined or left the segment. The following are valid values:

      • JOINED: The profile joined the segment.

      • LEFT: The profile left the segment.

      Parameters:
      event - Whether the profile joined or left the segment. The following are valid values:

      • JOINED: The profile joined the segment.

      • LEFT: The profile left the segment.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • event

      Whether the profile joined or left the segment. The following are valid values:

      • JOINED: The profile joined the segment.

      • LEFT: The profile left the segment.

      Parameters:
      event - Whether the profile joined or left the segment. The following are valid values:

      • JOINED: The profile joined the segment.

      • LEFT: The profile left the segment.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: