Interface CampaignEventFilter.Builder

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

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

    • dimensions

      The dimension settings of the event filter for the campaign.

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

      The dimension settings of the event filter for the campaign.

      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

      CampaignEventFilter.Builder filterType(String filterType)

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

      Parameters:
      filterType - The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign 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

      CampaignEventFilter.Builder filterType(FilterType filterType)

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

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