Interface PrefetchRetrieval.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrefetchRetrieval.Builder,
,PrefetchRetrieval> SdkBuilder<PrefetchRetrieval.Builder,
,PrefetchRetrieval> SdkPojo
- Enclosing class:
PrefetchRetrieval
-
Method Summary
Modifier and TypeMethodDescriptiondynamicVariables
(Map<String, String> dynamicVariables) The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).The time when prefetch retrieval ends for the ad break.The time when prefetch retrievals can start for this break.default PrefetchRetrieval.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 ad decision server (ADS).
You initially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.- Parameters:
dynamicVariables
- The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).You initially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify
DynamicVariables
for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.
- Parameters:
endTime
- The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.
- Parameters:
startTime
- The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.- 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
PrefetchRetrieval.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 PrefetchRetrieval.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:
-