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

io.burkard.cdk.services.appmesh.cfnRoute.RouteSpecProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.appmesh.cfnRoute

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RouteSpecProperty {

  def apply(
    grpcRoute: Option[software.amazon.awscdk.services.appmesh.CfnRoute.GrpcRouteProperty] = None,
    priority: Option[Number] = None,
    httpRoute: Option[software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteProperty] = None,
    http2Route: Option[software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteProperty] = None,
    tcpRoute: Option[software.amazon.awscdk.services.appmesh.CfnRoute.TcpRouteProperty] = None
  ): software.amazon.awscdk.services.appmesh.CfnRoute.RouteSpecProperty =
    (new software.amazon.awscdk.services.appmesh.CfnRoute.RouteSpecProperty.Builder)
      .grpcRoute(grpcRoute.orNull)
      .priority(priority.orNull)
      .httpRoute(httpRoute.orNull)
      .http2Route(http2Route.orNull)
      .tcpRoute(tcpRoute.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy