Interface PrefetchConsumption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrefetchConsumption.Builder,
,PrefetchConsumption> SdkBuilder<PrefetchConsumption.Builder,
,PrefetchConsumption> SdkPojo
- Enclosing class:
PrefetchConsumption
-
Method Summary
Modifier and TypeMethodDescriptionavailMatchingCriteria
(Collection<AvailMatchingCriteria> availMatchingCriteria) If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such asscte.event_id
, set the avail matching criteria.availMatchingCriteria
(Consumer<AvailMatchingCriteria.Builder>... availMatchingCriteria) If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such asscte.event_id
, set the avail matching criteria.availMatchingCriteria
(AvailMatchingCriteria... availMatchingCriteria) If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such asscte.event_id
, set the avail matching criteria.The time when MediaTailor no longer considers the prefetched ads for use in an ad break.The time when prefetched ads are considered for use in an ad break.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, sdkFields
-
Method Details
-
availMatchingCriteria
PrefetchConsumption.Builder availMatchingCriteria(Collection<AvailMatchingCriteria> availMatchingCriteria) If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as
scte.event_id
, set the avail matching criteria.- Parameters:
availMatchingCriteria
- If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such asscte.event_id
, set the avail matching criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availMatchingCriteria
If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as
scte.event_id
, set the avail matching criteria.- Parameters:
availMatchingCriteria
- If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such asscte.event_id
, set the avail matching criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availMatchingCriteria
PrefetchConsumption.Builder availMatchingCriteria(Consumer<AvailMatchingCriteria.Builder>... availMatchingCriteria) If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as
This is a convenience method that creates an instance of thescte.event_id
, set the avail matching criteria.AvailMatchingCriteria.Builder
avoiding the need to create one manually viaAvailMatchingCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailMatchingCriteria(List<AvailMatchingCriteria>)
.- Parameters:
availMatchingCriteria
- a consumer that will call methods onAvailMatchingCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call
DeletePrefetchSchedule
.- Parameters:
endTime
- The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can callDeletePrefetchSchedule
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time when prefetched ads are considered for use in an ad break. If you don't specify
StartTime
, the prefetched ads are available after MediaTailor retrives them from the ad decision server.- Parameters:
startTime
- The time when prefetched ads are considered for use in an ad break. If you don't specifyStartTime
, the prefetched ads are available after MediaTailor retrives them from the ad decision server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-