io.burkard.cdk.services.wafv2.cfnRuleGroup.CookieMatchPatternProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.wafv2.cfnRuleGroup
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.CfnRuleGroup.CookieMatchPatternProperty =
(new software.amazon.awscdk.services.wafv2.CfnRuleGroup.CookieMatchPatternProperty.Builder)
.all(all.orNull)
.excludedCookies(excludedCookies.map(_.asJava).orNull)
.includedCookies(includedCookies.map(_.asJava).orNull)
.build()
}