Interface EventFilter.Builder

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

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

    • dimensions

      EventFilter.Builder dimensions(EventDimensions dimensions)

      The dimensions for the event filter to use for the campaign or the journey activity.

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

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

      The dimensions for the event filter to use for the campaign or the journey 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:
    • filterType

      EventFilter.Builder filterType(String filterType)

      The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.

      Parameters:
      filterType - The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • filterType

      EventFilter.Builder filterType(FilterType filterType)

      The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.

      Parameters:
      filterType - The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: