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

io.burkard.cdk.services.appmesh.cfnGatewayRoute.GatewayRouteSpecProperty.scala Maven / Gradle / Ivy

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

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

  def apply(
    priority: Option[Number] = None,
    grpcRoute: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GrpcGatewayRouteProperty] = None,
    http2Route: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRouteProperty] = None,
    httpRoute: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRouteProperty] = None
  ): software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteSpecProperty =
    (new software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GatewayRouteSpecProperty.Builder)
      .priority(priority.orNull)
      .grpcRoute(grpcRoute.orNull)
      .http2Route(http2Route.orNull)
      .httpRoute(httpRoute.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy