Interface EventCondition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EventCondition.Builder,EventCondition>, SdkBuilder<EventCondition.Builder,EventCondition>, SdkPojo
Enclosing class:
EventCondition

public static interface EventCondition.Builder extends SdkPojo, CopyableBuilder<EventCondition.Builder,EventCondition>
  • Method Details

    • dimensions

      EventCondition.Builder dimensions(EventDimensions dimensions)

      The dimensions for the event filter to use for the activity.

      Parameters:
      dimensions - The dimensions for the event filter to use for the activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dimensions

      default EventCondition.Builder dimensions(Consumer<EventDimensions.Builder> dimensions)

      The dimensions for the event filter to use for the activity.

      This is a convenience method that creates an instance of the EventDimensions.Builder avoiding the need to create one manually via EventDimensions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dimensions(EventDimensions).

      Parameters:
      dimensions - a consumer that will call methods on EventDimensions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • messageActivity

      EventCondition.Builder messageActivity(String messageActivity)

      The message identifier (message_id) for the message to use when determining whether message events meet the condition.

      Parameters:
      messageActivity - The message identifier (message_id) for the message to use when determining whether message events meet the condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.