Class CfnPlaybackConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfiguration>
- Enclosing class:
CfnPlaybackConfiguration
CfnPlaybackConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionadDecisionServerUrl
(String adDecisionServerUrl) The URL for the ad decision server (ADS).availSuppression
(IResolvable availSuppression) The configuration for avail suppression, also known as ad suppression.availSuppression
(CfnPlaybackConfiguration.AvailSuppressionProperty availSuppression) The configuration for avail suppression, also known as ad suppression.build()
bumper
(IResolvable bumper) The configuration for bumpers.The configuration for bumpers.cdnConfiguration
(IResolvable cdnConfiguration) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.cdnConfiguration
(CfnPlaybackConfiguration.CdnConfigurationProperty cdnConfiguration) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.configurationAliases
(Map<String, ? extends Object> configurationAliases) The player parameters and aliases used as dynamic variables during session initialization.configurationAliases
(IResolvable configurationAliases) The player parameters and aliases used as dynamic variables during session initialization.dashConfiguration
(IResolvable dashConfiguration) The configuration for a DASH source.dashConfiguration
(CfnPlaybackConfiguration.DashConfigurationProperty dashConfiguration) The configuration for a DASH source.hlsConfiguration
(IResolvable hlsConfiguration) The configuration for HLS content.hlsConfiguration
(CfnPlaybackConfiguration.HlsConfigurationProperty hlsConfiguration) The configuration for HLS content.livePreRollConfiguration
(IResolvable livePreRollConfiguration) The configuration for pre-roll ad insertion.livePreRollConfiguration
(CfnPlaybackConfiguration.LivePreRollConfigurationProperty livePreRollConfiguration) The configuration for pre-roll ad insertion.manifestProcessingRules
(IResolvable manifestProcessingRules) The configuration for manifest processing rules.manifestProcessingRules
(CfnPlaybackConfiguration.ManifestProcessingRulesProperty manifestProcessingRules) The configuration for manifest processing rules.The identifier for the playback configuration.personalizationThresholdSeconds
(Number personalizationThresholdSeconds) Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break.slateAdUrl
(String slateAdUrl) The URL for a video asset to transcode and use to fill in time that's not used by ads.The tags to assign to the playback configuration.transcodeProfileName
(String transcodeProfileName) The name that is used to associate this playback configuration with a custom transcode profile.videoContentSourceUrl
(String videoContentSourceUrl) The URL prefix for the parent manifest for the stream, minus the asset ID.
-
Method Details
-
create
@Stability(Stable) public static CfnPlaybackConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPlaybackConfiguration.Builder
.
-
adDecisionServerUrl
@Stability(Stable) public CfnPlaybackConfiguration.Builder adDecisionServerUrl(String adDecisionServerUrl) The URL for the ad decision server (ADS).This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters.
- Parameters:
adDecisionServerUrl
- The URL for the ad decision server (ADS). This parameter is required.- Returns:
this
- See Also:
-
name
The identifier for the playback configuration.- Parameters:
name
- The identifier for the playback configuration. This parameter is required.- Returns:
this
- See Also:
-
videoContentSourceUrl
@Stability(Stable) public CfnPlaybackConfiguration.Builder videoContentSourceUrl(String videoContentSourceUrl) The URL prefix for the parent manifest for the stream, minus the asset ID.The maximum length is 512 characters.
- Parameters:
videoContentSourceUrl
- The URL prefix for the parent manifest for the stream, minus the asset ID. This parameter is required.- Returns:
this
- See Also:
-
availSuppression
@Stability(Stable) public CfnPlaybackConfiguration.Builder availSuppression(IResolvable availSuppression) The configuration for avail suppression, also known as ad suppression.For more information about ad suppression, see Ad Suppression .
- Parameters:
availSuppression
- The configuration for avail suppression, also known as ad suppression. This parameter is required.- Returns:
this
- See Also:
-
availSuppression
@Stability(Stable) public CfnPlaybackConfiguration.Builder availSuppression(CfnPlaybackConfiguration.AvailSuppressionProperty availSuppression) The configuration for avail suppression, also known as ad suppression.For more information about ad suppression, see Ad Suppression .
- Parameters:
availSuppression
- The configuration for avail suppression, also known as ad suppression. This parameter is required.- Returns:
this
- See Also:
-
bumper
The configuration for bumpers.Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers .
- Parameters:
bumper
- The configuration for bumpers. This parameter is required.- Returns:
this
- See Also:
-
bumper
@Stability(Stable) public CfnPlaybackConfiguration.Builder bumper(CfnPlaybackConfiguration.BumperProperty bumper) The configuration for bumpers.Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers .
- Parameters:
bumper
- The configuration for bumpers. This parameter is required.- Returns:
this
- See Also:
-
cdnConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder cdnConfiguration(IResolvable cdnConfiguration) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.- Parameters:
cdnConfiguration
- The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. This parameter is required.- Returns:
this
- See Also:
-
cdnConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder cdnConfiguration(CfnPlaybackConfiguration.CdnConfigurationProperty cdnConfiguration) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.- Parameters:
cdnConfiguration
- The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. This parameter is required.- Returns:
this
- See Also:
-
configurationAliases
@Stability(Stable) public CfnPlaybackConfiguration.Builder configurationAliases(IResolvable configurationAliases) The player parameters and aliases used as dynamic variables during session initialization.For more information, see Domain Variables .
- Parameters:
configurationAliases
- The player parameters and aliases used as dynamic variables during session initialization. This parameter is required.- Returns:
this
- See Also:
-
configurationAliases
@Stability(Stable) public CfnPlaybackConfiguration.Builder configurationAliases(Map<String, ? extends Object> configurationAliases) The player parameters and aliases used as dynamic variables during session initialization.For more information, see Domain Variables .
- Parameters:
configurationAliases
- The player parameters and aliases used as dynamic variables during session initialization. This parameter is required.- Returns:
this
- See Also:
-
dashConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder dashConfiguration(IResolvable dashConfiguration) The configuration for a DASH source.- Parameters:
dashConfiguration
- The configuration for a DASH source. This parameter is required.- Returns:
this
- See Also:
-
dashConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder dashConfiguration(CfnPlaybackConfiguration.DashConfigurationProperty dashConfiguration) The configuration for a DASH source.- Parameters:
dashConfiguration
- The configuration for a DASH source. This parameter is required.- Returns:
this
- See Also:
-
hlsConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder hlsConfiguration(IResolvable hlsConfiguration) The configuration for HLS content.- Parameters:
hlsConfiguration
- The configuration for HLS content. This parameter is required.- Returns:
this
- See Also:
-
hlsConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder hlsConfiguration(CfnPlaybackConfiguration.HlsConfigurationProperty hlsConfiguration) The configuration for HLS content.- Parameters:
hlsConfiguration
- The configuration for HLS content. This parameter is required.- Returns:
this
- See Also:
-
livePreRollConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder livePreRollConfiguration(IResolvable livePreRollConfiguration) The configuration for pre-roll ad insertion.- Parameters:
livePreRollConfiguration
- The configuration for pre-roll ad insertion. This parameter is required.- Returns:
this
- See Also:
-
livePreRollConfiguration
@Stability(Stable) public CfnPlaybackConfiguration.Builder livePreRollConfiguration(CfnPlaybackConfiguration.LivePreRollConfigurationProperty livePreRollConfiguration) The configuration for pre-roll ad insertion.- Parameters:
livePreRollConfiguration
- The configuration for pre-roll ad insertion. This parameter is required.- Returns:
this
- See Also:
-
manifestProcessingRules
@Stability(Stable) public CfnPlaybackConfiguration.Builder manifestProcessingRules(IResolvable manifestProcessingRules) The configuration for manifest processing rules.Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
- Parameters:
manifestProcessingRules
- The configuration for manifest processing rules. This parameter is required.- Returns:
this
- See Also:
-
manifestProcessingRules
@Stability(Stable) public CfnPlaybackConfiguration.Builder manifestProcessingRules(CfnPlaybackConfiguration.ManifestProcessingRulesProperty manifestProcessingRules) The configuration for manifest processing rules.Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
- Parameters:
manifestProcessingRules
- The configuration for manifest processing rules. This parameter is required.- Returns:
this
- See Also:
-
personalizationThresholdSeconds
@Stability(Stable) public CfnPlaybackConfiguration.Builder personalizationThresholdSeconds(Number personalizationThresholdSeconds) Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break.If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor .
- Parameters:
personalizationThresholdSeconds
- Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. This parameter is required.- Returns:
this
- See Also:
-
slateAdUrl
The URL for a video asset to transcode and use to fill in time that's not used by ads.AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID playback configurations. For VPAID, the slate is required because MediaTailor provides it in the slots designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video.
- Parameters:
slateAdUrl
- The URL for a video asset to transcode and use to fill in time that's not used by ads. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to assign to the playback configuration.Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources .
- Parameters:
tags
- The tags to assign to the playback configuration. This parameter is required.- Returns:
this
- See Also:
-
transcodeProfileName
@Stability(Stable) public CfnPlaybackConfiguration.Builder transcodeProfileName(String transcodeProfileName) The name that is used to associate this playback configuration with a custom transcode profile.This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support.
- Parameters:
transcodeProfileName
- The name that is used to associate this playback configuration with a custom transcode profile. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfiguration>
- Returns:
- a newly built instance of
CfnPlaybackConfiguration
.
-