io.burkard.cdk.services.appmesh.VirtualRouterBaseProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appmesh
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VirtualRouterBaseProps {
def apply(
listeners: Option[List[_ <: software.amazon.awscdk.services.appmesh.VirtualRouterListener]] = None,
virtualRouterName: Option[String] = None
): software.amazon.awscdk.services.appmesh.VirtualRouterBaseProps =
(new software.amazon.awscdk.services.appmesh.VirtualRouterBaseProps.Builder)
.listeners(listeners.map(_.asJava).orNull)
.virtualRouterName(virtualRouterName.orNull)
.build()
}