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

io.burkard.cdk.services.appmesh.GatewayRouteSpecConfig.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.appmesh

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

  def apply(
    priority: Option[Number] = None,
    grpcSpecConfig: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.GrpcGatewayRouteProperty] = None,
    httpSpecConfig: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRouteProperty] = None,
    http2SpecConfig: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRouteProperty] = None
  ): software.amazon.awscdk.services.appmesh.GatewayRouteSpecConfig =
    (new software.amazon.awscdk.services.appmesh.GatewayRouteSpecConfig.Builder)
      .priority(priority.orNull)
      .grpcSpecConfig(grpcSpecConfig.orNull)
      .httpSpecConfig(httpSpecConfig.orNull)
      .http2SpecConfig(http2SpecConfig.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy