Interface EventTriggerLimits.Builder

  • Method Details

    • eventExpiration

      EventTriggerLimits.Builder eventExpiration(Long eventExpiration)

      In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.

      Parameters:
      eventExpiration - In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • periods

      A list of time periods during which the limits apply.

      Parameters:
      periods - A list of time periods during which the limits apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • periods

      EventTriggerLimits.Builder periods(Period... periods)

      A list of time periods during which the limits apply.

      Parameters:
      periods - A list of time periods during which the limits apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • periods

      A list of time periods during which the limits apply.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to periods(List<Period>).

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