Class CfnPlaybackConfiguration.AvailSuppressionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.AvailSuppressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfiguration.AvailSuppressionProperty>
- Enclosing interface:
CfnPlaybackConfiguration.AvailSuppressionProperty
@Stability(Stable)
public static final class CfnPlaybackConfiguration.AvailSuppressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfiguration.AvailSuppressionProperty>
A builder for
CfnPlaybackConfiguration.AvailSuppressionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPlaybackConfiguration.AvailSuppressionProperty.getMode()Sets the value ofCfnPlaybackConfiguration.AvailSuppressionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Stable) public CfnPlaybackConfiguration.AvailSuppressionProperty.Builder mode(String mode) Sets the value ofCfnPlaybackConfiguration.AvailSuppressionProperty.getMode()- Parameters:
mode- Sets the ad suppression mode. By default, ad suppression is off and all ad breaks are filled with ads or slate. When Mode is set toBEHIND_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks on or behind the ad suppression Value time in the manifest lookback window. When Mode is set toAFTER_LIVE_EDGE, ad suppression is active and MediaTailor won't fill ad breaks that are within the live edge plus the avail suppression value.- Returns:
this
-
value
@Stability(Stable) public CfnPlaybackConfiguration.AvailSuppressionProperty.Builder value(String value) Sets the value ofCfnPlaybackConfiguration.AvailSuppressionProperty.getValue()- Parameters:
value- A live edge offset time in HH:MM:SS. MediaTailor won't fill ad breaks on or behind this time in the manifest lookback window. If Value is set to 00:00:00, it is in sync with the live edge, and MediaTailor won't fill any ad breaks on or behind the live edge. If you set a Value time, MediaTailor won't fill any ad breaks on or behind this time in the manifest lookback window. For example, if you set 00:45:00, then MediaTailor will fill ad breaks that occur within 45 minutes behind the live edge, but won't fill ad breaks on or behind 45 minutes behind the live edge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfiguration.AvailSuppressionProperty>- Returns:
- a new instance of
CfnPlaybackConfiguration.AvailSuppressionProperty - Throws:
NullPointerException- if any required attribute was not provided
-