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

io.burkard.cdk.services.mediaconnect.CfnFlowOutputProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.mediaconnect

import scala.collection.JavaConverters._

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

  def apply(
    flowArn: String,
    protocol: String,
    name: Option[String] = None,
    vpcInterfaceAttachment: Option[software.amazon.awscdk.services.mediaconnect.CfnFlowOutput.VpcInterfaceAttachmentProperty] = None,
    streamId: Option[String] = None,
    description: Option[String] = None,
    cidrAllowList: Option[List[String]] = None,
    remoteId: Option[String] = None,
    maxLatency: Option[Number] = None,
    encryption: Option[software.amazon.awscdk.services.mediaconnect.CfnFlowOutput.EncryptionProperty] = None,
    port: Option[Number] = None,
    minLatency: Option[Number] = None,
    destination: Option[String] = None,
    smoothingLatency: Option[Number] = None
  ): software.amazon.awscdk.services.mediaconnect.CfnFlowOutputProps =
    (new software.amazon.awscdk.services.mediaconnect.CfnFlowOutputProps.Builder)
      .flowArn(flowArn)
      .protocol(protocol)
      .name(name.orNull)
      .vpcInterfaceAttachment(vpcInterfaceAttachment.orNull)
      .streamId(streamId.orNull)
      .description(description.orNull)
      .cidrAllowList(cidrAllowList.map(_.asJava).orNull)
      .remoteId(remoteId.orNull)
      .maxLatency(maxLatency.orNull)
      .encryption(encryption.orNull)
      .port(port.orNull)
      .minLatency(minLatency.orNull)
      .destination(destination.orNull)
      .smoothingLatency(smoothingLatency.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy