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

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

package io.burkard.cdk.services.wafv2.cfnRuleGroup

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

  def apply(
    notStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.NotStatementProperty] = None,
    xssMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.XssMatchStatementProperty] = None,
    ipSetReferenceStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.IPSetReferenceStatementProperty] = None,
    regexPatternSetReferenceStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.RegexPatternSetReferenceStatementProperty] = None,
    geoMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.GeoMatchStatementProperty] = None,
    rateBasedStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.RateBasedStatementProperty] = None,
    labelMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.LabelMatchStatementProperty] = None,
    byteMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.ByteMatchStatementProperty] = None,
    sqliMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.SqliMatchStatementProperty] = None,
    andStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.AndStatementProperty] = None,
    sizeConstraintStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.SizeConstraintStatementProperty] = None,
    regexMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.RegexMatchStatementProperty] = None,
    orStatement: Option[software.amazon.awscdk.services.wafv2.CfnRuleGroup.OrStatementProperty] = None
  ): software.amazon.awscdk.services.wafv2.CfnRuleGroup.StatementProperty =
    (new software.amazon.awscdk.services.wafv2.CfnRuleGroup.StatementProperty.Builder)
      .notStatement(notStatement.orNull)
      .xssMatchStatement(xssMatchStatement.orNull)
      .ipSetReferenceStatement(ipSetReferenceStatement.orNull)
      .regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.orNull)
      .geoMatchStatement(geoMatchStatement.orNull)
      .rateBasedStatement(rateBasedStatement.orNull)
      .labelMatchStatement(labelMatchStatement.orNull)
      .byteMatchStatement(byteMatchStatement.orNull)
      .sqliMatchStatement(sqliMatchStatement.orNull)
      .andStatement(andStatement.orNull)
      .sizeConstraintStatement(sizeConstraintStatement.orNull)
      .regexMatchStatement(regexMatchStatement.orNull)
      .orStatement(orStatement.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy