Interface RecurringConsumption.Builder

  • Method Details

    • retrievedAdExpirationSeconds

      RecurringConsumption.Builder retrievedAdExpirationSeconds(Integer retrievedAdExpirationSeconds)

      The number of seconds that an ad is available for insertion after it was prefetched.

      Parameters:
      retrievedAdExpirationSeconds - The number of seconds that an ad is available for insertion after it was prefetched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availMatchingCriteria

      RecurringConsumption.Builder availMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria)

      The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.

      Parameters:
      availMatchingCriteria - The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availMatchingCriteria

      RecurringConsumption.Builder availMatchingCriteria(AvailMatchingCriteria... availMatchingCriteria)

      The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.

      Parameters:
      availMatchingCriteria - The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availMatchingCriteria

      RecurringConsumption.Builder availMatchingCriteria(Consumer<AvailMatchingCriteria.Builder>... availMatchingCriteria)

      The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.

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

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

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