io.burkard.cdk.services.appmesh.VirtualGatewayProps.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 VirtualGatewayProps {
def apply(
mesh: software.amazon.awscdk.services.appmesh.IMesh,
backendDefaults: Option[software.amazon.awscdk.services.appmesh.BackendDefaults] = None,
listeners: Option[List[_ <: software.amazon.awscdk.services.appmesh.VirtualGatewayListener]] = None,
virtualGatewayName: Option[String] = None,
accessLog: Option[software.amazon.awscdk.services.appmesh.AccessLog] = None
): software.amazon.awscdk.services.appmesh.VirtualGatewayProps =
(new software.amazon.awscdk.services.appmesh.VirtualGatewayProps.Builder)
.mesh(mesh)
.backendDefaults(backendDefaults.orNull)
.listeners(listeners.map(_.asJava).orNull)
.virtualGatewayName(virtualGatewayName.orNull)
.accessLog(accessLog.orNull)
.build()
}