Class CfnChannel.DashPlaylistSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnChannel.DashPlaylistSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.DashPlaylistSettingsProperty>
- Enclosing interface:
CfnChannel.DashPlaylistSettingsProperty
@Stability(Stable)
public static final class CfnChannel.DashPlaylistSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.DashPlaylistSettingsProperty>
A builder for
CfnChannel.DashPlaylistSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.manifestWindowSeconds(Number manifestWindowSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getManifestWindowSeconds()minBufferTimeSeconds(Number minBufferTimeSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getMinBufferTimeSeconds()minUpdatePeriodSeconds(Number minUpdatePeriodSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getMinUpdatePeriodSeconds()suggestedPresentationDelaySeconds(Number suggestedPresentationDelaySeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
manifestWindowSeconds
@Stability(Stable) public CfnChannel.DashPlaylistSettingsProperty.Builder manifestWindowSeconds(Number manifestWindowSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getManifestWindowSeconds()- Parameters:
manifestWindowSeconds- The total duration (in seconds) of each manifest. Minimum value:30seconds. Maximum value:3600seconds.- Returns:
this
-
minBufferTimeSeconds
@Stability(Stable) public CfnChannel.DashPlaylistSettingsProperty.Builder minBufferTimeSeconds(Number minBufferTimeSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getMinBufferTimeSeconds()- Parameters:
minBufferTimeSeconds- Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value:2seconds. Maximum value:60seconds.- Returns:
this
-
minUpdatePeriodSeconds
@Stability(Stable) public CfnChannel.DashPlaylistSettingsProperty.Builder minUpdatePeriodSeconds(Number minUpdatePeriodSeconds) Sets the value ofCfnChannel.DashPlaylistSettingsProperty.getMinUpdatePeriodSeconds()- Parameters:
minUpdatePeriodSeconds- Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value:2seconds. Maximum value:60seconds.- Returns:
this
-
suggestedPresentationDelaySeconds
@Stability(Stable) public CfnChannel.DashPlaylistSettingsProperty.Builder suggestedPresentationDelaySeconds(Number suggestedPresentationDelaySeconds) - Parameters:
suggestedPresentationDelaySeconds- Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value:2seconds. Maximum value:60seconds.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.DashPlaylistSettingsProperty>- Returns:
- a new instance of
CfnChannel.DashPlaylistSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-