Interface PrefetchConsumption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PrefetchConsumption.Builder,PrefetchConsumption>,SdkBuilder<PrefetchConsumption.Builder,PrefetchConsumption>,SdkPojo
- Enclosing class:
- PrefetchConsumption
public static interface PrefetchConsumption.Builder extends SdkPojo, CopyableBuilder<PrefetchConsumption.Builder,PrefetchConsumption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrefetchConsumption.BuilderavailMatchingCriteria(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.PrefetchConsumption.BuilderavailMatchingCriteria(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.PrefetchConsumption.BuilderavailMatchingCriteria(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.PrefetchConsumption.BuilderendTime(Instant endTime)The time when MediaTailor no longer considers the prefetched ads for use in an ad break.PrefetchConsumption.BuilderstartTime(Instant startTime)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
PrefetchConsumption.Builder availMatchingCriteria(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
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.Builderavoiding the need to create one manually viaAvailMatchingCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#availMatchingCriteria(List.) - 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:
#availMatchingCriteria(java.util.Collection)
-
endTime
PrefetchConsumption.Builder endTime(Instant 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
PrefetchConsumption.Builder startTime(Instant 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 retrieves 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 retrieves them from the ad decision server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-