All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.medialive.cfnChannel.OutputProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.medialive.cfnChannel

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object OutputProperty {

  def apply(
    videoDescriptionName: Option[String] = None,
    captionDescriptionNames: Option[List[String]] = None,
    audioDescriptionNames: Option[List[String]] = None,
    outputSettings: Option[software.amazon.awscdk.services.medialive.CfnChannel.OutputSettingsProperty] = None,
    outputName: Option[String] = None
  ): software.amazon.awscdk.services.medialive.CfnChannel.OutputProperty =
    (new software.amazon.awscdk.services.medialive.CfnChannel.OutputProperty.Builder)
      .videoDescriptionName(videoDescriptionName.orNull)
      .captionDescriptionNames(captionDescriptionNames.map(_.asJava).orNull)
      .audioDescriptionNames(audioDescriptionNames.map(_.asJava).orNull)
      .outputSettings(outputSettings.orNull)
      .outputName(outputName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy