Interface CreatePrefetchScheduleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>,MediaTailorRequest.Builder,SdkBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePrefetchScheduleRequest
public static interface CreatePrefetchScheduleRequest.Builder extends MediaTailorRequest.Builder, SdkPojo, CopyableBuilder<CreatePrefetchScheduleRequest.Builder,CreatePrefetchScheduleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePrefetchScheduleRequest.Builderconsumption(Consumer<PrefetchConsumption.Builder> consumption)The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server.CreatePrefetchScheduleRequest.Builderconsumption(PrefetchConsumption consumption)The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server.CreatePrefetchScheduleRequest.Buildername(String name)The name to assign to the schedule request.CreatePrefetchScheduleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreatePrefetchScheduleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreatePrefetchScheduleRequest.BuilderplaybackConfigurationName(String playbackConfigurationName)The name to assign to the playback configuration.default CreatePrefetchScheduleRequest.Builderretrieval(Consumer<PrefetchRetrieval.Builder> retrieval)The configuration settings for retrieval of prefetched ads from the ad decision server.CreatePrefetchScheduleRequest.Builderretrieval(PrefetchRetrieval retrieval)The configuration settings for retrieval of prefetched ads from the ad decision server.CreatePrefetchScheduleRequest.BuilderstreamId(String streamId)An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorRequest.Builder
build
-
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
-
consumption
CreatePrefetchScheduleRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumption
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.Builderavoiding the need to create one manually viaPrefetchConsumption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumption(PrefetchConsumption).- Parameters:
consumption- a consumer that will call methods onPrefetchConsumption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
consumption(PrefetchConsumption)
-
name
CreatePrefetchScheduleRequest.Builder name(String name)
The name to assign to the schedule request.
- Parameters:
name- The name to assign to the schedule request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackConfigurationName
CreatePrefetchScheduleRequest.Builder playbackConfigurationName(String playbackConfigurationName)
The name to assign to the playback configuration.
- Parameters:
playbackConfigurationName- The name to assign to the playback configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieval
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieval
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.Builderavoiding the need to create one manually viaPrefetchRetrieval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretrieval(PrefetchRetrieval).- Parameters:
retrieval- a consumer that will call methods onPrefetchRetrieval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retrieval(PrefetchRetrieval)
-
streamId
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
StreamIdis specified, MediaTailor returns all of the prefetch schedules with an exact match onStreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless ofStreamId.- Parameters:
streamId- An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. IfStreamIdis specified, MediaTailor returns all of the prefetch schedules with an exact match onStreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless ofStreamId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePrefetchScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePrefetchScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-