Class CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlaybackConfiguration.LivePreRollConfigurationProperty>
- Enclosing interface:
CfnPlaybackConfiguration.LivePreRollConfigurationProperty
@Stability(Stable)
public static final class CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlaybackConfiguration.LivePreRollConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadDecisionServerUrl
(String adDecisionServerUrl) build()
Builds the configured instance.maxDurationSeconds
(Number maxDurationSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adDecisionServerUrl
@Stability(Stable) public CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder adDecisionServerUrl(String adDecisionServerUrl) Sets the value ofCfnPlaybackConfiguration.LivePreRollConfigurationProperty.getAdDecisionServerUrl()
- Parameters:
adDecisionServerUrl
-CfnPlaybackConfiguration.LivePreRollConfigurationProperty.AdDecisionServerUrl
.- Returns:
this
-
maxDurationSeconds
@Stability(Stable) public CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder maxDurationSeconds(Number maxDurationSeconds) - Parameters:
maxDurationSeconds
-CfnPlaybackConfiguration.LivePreRollConfigurationProperty.MaxDurationSeconds
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlaybackConfiguration.LivePreRollConfigurationProperty>
- Returns:
- a new instance of
CfnPlaybackConfiguration.LivePreRollConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-