io.burkard.cdk.services.appmesh.cfnRoute.HttpRouteProperty.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 HttpRouteProperty {
def apply(
`match`: software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteMatchProperty,
action: software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteActionProperty,
timeout: Option[software.amazon.awscdk.services.appmesh.CfnRoute.HttpTimeoutProperty] = None,
retryPolicy: Option[software.amazon.awscdk.services.appmesh.CfnRoute.HttpRetryPolicyProperty] = None
): software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteProperty =
(new software.amazon.awscdk.services.appmesh.CfnRoute.HttpRouteProperty.Builder)
.`match`(`match`)
.action(action)
.timeout(timeout.orNull)
.retryPolicy(retryPolicy.orNull)
.build()
}