public static interface PrefetchSchedule.Builder extends SdkPojo, CopyableBuilder<PrefetchSchedule.Builder,PrefetchSchedule>
| Modifier and Type | Method and Description |
|---|---|
PrefetchSchedule.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
|
default PrefetchSchedule.Builder |
consumption(Consumer<PrefetchConsumption.Builder> consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.
|
PrefetchSchedule.Builder |
consumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks.
|
PrefetchSchedule.Builder |
name(String name)
The name of the prefetch schedule.
|
PrefetchSchedule.Builder |
playbackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
|
default PrefetchSchedule.Builder |
retrieval(Consumer<PrefetchRetrieval.Builder> retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
|
PrefetchSchedule.Builder |
retrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
|
PrefetchSchedule.Builder |
streamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the
same playback configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrefetchSchedule.Builder arn(String arn)
The Amazon Resource Name (ARN) of the prefetch schedule.
arn - The Amazon Resource Name (ARN) of the prefetch schedule.PrefetchSchedule.Builder consumption(PrefetchConsumption consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
consumption - Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad
consumption occurs within a span of time that you define, called a consumption window. You can
designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.default PrefetchSchedule.Builder consumption(Consumer<PrefetchConsumption.Builder> consumption)
Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.
This is a convenience method that creates an instance of thePrefetchConsumption.Builder avoiding the
need to create one manually via PrefetchConsumption.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to consumption(PrefetchConsumption).
consumption - a consumer that will call methods on PrefetchConsumption.Builderconsumption(PrefetchConsumption)PrefetchSchedule.Builder name(String name)
The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.
name - The name of the prefetch schedule. The name must be unique among all prefetch schedules that are
associated with the specified playback configuration.PrefetchSchedule.Builder playbackConfigurationName(String playbackConfigurationName)
The name of the playback configuration to create the prefetch schedule for.
playbackConfigurationName - The name of the playback configuration to create the prefetch schedule for.PrefetchSchedule.Builder retrieval(PrefetchRetrieval retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
retrieval - A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).default PrefetchSchedule.Builder retrieval(Consumer<PrefetchRetrieval.Builder> retrieval)
A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).
This is a convenience method that creates an instance of thePrefetchRetrieval.Builder avoiding the
need to create one manually via PrefetchRetrieval.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retrieval(PrefetchRetrieval).
retrieval - a consumer that will call methods on PrefetchRetrieval.Builderretrieval(PrefetchRetrieval)PrefetchSchedule.Builder streamId(String streamId)
An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.
streamId - An optional stream identifier that you can specify in order to prefetch for multiple streams that use
the same playback configuration.Copyright © 2023. All rights reserved.