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

io.burkard.cdk.services.wafv2.cfnRuleGroup.FieldToMatchProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.wafv2.cfnRuleGroup

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

  def apply(
    uriPath: Option[AnyRef] = None,
    method: Option[AnyRef] = None,
    body: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.BodyProperty] = None,
    allQueryArguments: Option[AnyRef] = None,
    singleHeader: Option[AnyRef] = None,
    queryString: Option[AnyRef] = None,
    jsonBody: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.JsonBodyProperty] = None,
    cookies: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.CookiesProperty] = None,
    headers: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.HeadersProperty] = None,
    singleQueryArgument: Option[AnyRef] = None
  ): software.amazon.awscdk.services.wafv2.CfnRuleGroup.FieldToMatchProperty =
    (new software.amazon.awscdk.services.wafv2.CfnRuleGroup.FieldToMatchProperty.Builder)
      .uriPath(uriPath.orNull)
      .method(method.orNull)
      .body(body.orNull)
      .allQueryArguments(allQueryArguments.orNull)
      .singleHeader(singleHeader.orNull)
      .queryString(queryString.orNull)
      .jsonBody(jsonBody.orNull)
      .cookies(cookies.orNull)
      .headers(headers.orNull)
      .singleQueryArgument(singleQueryArgument.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy