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