public static interface CreatePrefetchScheduleRequest.Builder extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreatePrefetchScheduleRequest.Builder |
consumption(Consumer<PrefetchConsumption.Builder> consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
CreatePrefetchScheduleRequest.Builder |
consumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision
server.
|
CreatePrefetchScheduleRequest.Builder |
name(String name)
The name to assign to the schedule request.
|
CreatePrefetchScheduleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePrefetchScheduleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePrefetchScheduleRequest.Builder |
playbackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
|
default CreatePrefetchScheduleRequest.Builder |
retrieval(Consumer<PrefetchRetrieval.Builder> retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
CreatePrefetchScheduleRequest.Builder |
retrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server.
|
CreatePrefetchScheduleRequest.Builder |
streamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePrefetchScheduleRequest.Builder consumption(PrefetchConsumption consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
consumption - The configuration settings for MediaTailor's consumption of the prefetched ads from the ad
decision server. Each consumption configuration contains an end time and an optional start time that
define the consumption window. Prefetch schedules automatically expire no earlier than seven
days after the end time.default CreatePrefetchScheduleRequest.Builder consumption(Consumer<PrefetchConsumption.Builder> consumption)
The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.
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)CreatePrefetchScheduleRequest.Builder name(String name)
The name to assign to the schedule request.
name - The name to assign to the schedule request.CreatePrefetchScheduleRequest.Builder playbackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
playbackConfigurationName - The name to assign to the playback configuration.CreatePrefetchScheduleRequest.Builder retrieval(PrefetchRetrieval retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
retrieval - The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set
of prefetched ads will be retrieved and subsequently consumed for each ad break.default CreatePrefetchScheduleRequest.Builder retrieval(Consumer<PrefetchRetrieval.Builder> retrieval)
The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.
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)CreatePrefetchScheduleRequest.Builder streamId(String streamId)
An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same
playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch
schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the
prefetch schedules for the playback configuration, regardless of StreamId.
streamId - An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the
same playback configuration. If StreamId is specified, MediaTailor returns all of the
prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns
all of the prefetch schedules for the playback configuration, regardless of StreamId.CreatePrefetchScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePrefetchScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.