io.burkard.cdk.services.medialive.cfnChannel.AutomaticInputFailoverSettingsProperty.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 AutomaticInputFailoverSettingsProperty {
def apply(
errorClearTimeMsec: Option[Number] = None,
failoverConditions: Option[List[_]] = None,
inputPreference: Option[String] = None,
secondaryInputId: Option[String] = None
): software.amazon.awscdk.services.medialive.CfnChannel.AutomaticInputFailoverSettingsProperty =
(new software.amazon.awscdk.services.medialive.CfnChannel.AutomaticInputFailoverSettingsProperty.Builder)
.errorClearTimeMsec(errorClearTimeMsec.orNull)
.failoverConditions(failoverConditions.map(_.asJava).orNull)
.inputPreference(inputPreference.orNull)
.secondaryInputId(secondaryInputId.orNull)
.build()
}