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

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

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

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

  def apply(
    prefixPathMatch: Option[String] = None,
    wholePathMatch: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpPathMatchProperty] = None,
    prefixPathRewrite: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRoutePrefixRewriteProperty] = None,
    wholePathRewrite: Option[software.amazon.awscdk.services.appmesh.CfnGatewayRoute.HttpGatewayRoutePathRewriteProperty] = None
  ): software.amazon.awscdk.services.appmesh.HttpGatewayRoutePathMatchConfig =
    (new software.amazon.awscdk.services.appmesh.HttpGatewayRoutePathMatchConfig.Builder)
      .prefixPathMatch(prefixPathMatch.orNull)
      .wholePathMatch(wholePathMatch.orNull)
      .prefixPathRewrite(prefixPathRewrite.orNull)
      .wholePathRewrite(wholePathRewrite.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy