Interface RecurringRetrieval.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecurringRetrieval.Builder,
,RecurringRetrieval> SdkBuilder<RecurringRetrieval.Builder,
,RecurringRetrieval> SdkPojo
- Enclosing class:
RecurringRetrieval
-
Method Summary
Modifier and TypeMethodDescriptiondelayAfterAvailEndSeconds
(Integer delayAfterAvailEndSeconds) The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail.dynamicVariables
(Map<String, String> dynamicVariables) The dynamic variables to use for substitution during prefetch requests to the ADS.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.trafficShapingRetrievalWindow
(TrafficShapingRetrievalWindow trafficShapingRetrievalWindow) Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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 theTrafficShapingRetrievalWindow.Builder
avoiding the need to create one manually viaTrafficShapingRetrievalWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrafficShapingRetrievalWindow(TrafficShapingRetrievalWindow)
.- Parameters:
trafficShapingRetrievalWindow
- a consumer that will call methods onTrafficShapingRetrievalWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-