io.burkard.cdk.services.mediatailor.cfnPlaybackConfiguration.LivePreRollConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.mediatailor.cfnPlaybackConfiguration
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LivePreRollConfigurationProperty {
def apply(
adDecisionServerUrl: Option[String] = None,
maxDurationSeconds: Option[Number] = None
): software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty =
(new software.amazon.awscdk.services.mediatailor.CfnPlaybackConfiguration.LivePreRollConfigurationProperty.Builder)
.adDecisionServerUrl(adDecisionServerUrl.orNull)
.maxDurationSeconds(maxDurationSeconds.orNull)
.build()
}