io.burkard.cdk.services.wafv2.cfnWebACL.CookieMatchPatternProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.wafv2.cfnWebACL
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CookieMatchPatternProperty {
def apply(
all: Option[AnyRef] = None,
excludedCookies: Option[List[String]] = None,
includedCookies: Option[List[String]] = None
): software.amazon.awscdk.services.wafv2.CfnWebACL.CookieMatchPatternProperty =
(new software.amazon.awscdk.services.wafv2.CfnWebACL.CookieMatchPatternProperty.Builder)
.all(all.orNull)
.excludedCookies(excludedCookies.map(_.asJava).orNull)
.includedCookies(includedCookies.map(_.asJava).orNull)
.build()
}