Interface RecurringRetrieval.Builder

  • Method Details

    • dynamicVariables

      RecurringRetrieval.Builder dynamicVariables(Map<String,String> dynamicVariables)

      The dynamic variables to use for substitution during prefetch requests to the ADS.

      Parameters:
      dynamicVariables - The dynamic variables to use for substitution during prefetch requests to the ADS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • delayAfterAvailEndSeconds

      RecurringRetrieval.Builder delayAfterAvailEndSeconds(Integer delayAfterAvailEndSeconds)

      The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail. If not set, the default is 0 (no delay).

      Parameters:
      delayAfterAvailEndSeconds - The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail. If not set, the default is 0 (no delay).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficShapingType

      RecurringRetrieval.Builder trafficShapingType(String trafficShapingType)

      Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.

      Parameters:
      trafficShapingType - Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trafficShapingType

      RecurringRetrieval.Builder trafficShapingType(TrafficShapingType trafficShapingType)

      Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.

      Parameters:
      trafficShapingType - Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trafficShapingRetrievalWindow

      RecurringRetrieval.Builder trafficShapingRetrievalWindow(TrafficShapingRetrievalWindow trafficShapingRetrievalWindow)

      Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.

      Parameters:
      trafficShapingRetrievalWindow - Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficShapingRetrievalWindow

      default RecurringRetrieval.Builder trafficShapingRetrievalWindow(Consumer<TrafficShapingRetrievalWindow.Builder> trafficShapingRetrievalWindow)

      Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.

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

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

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