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

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

package io.burkard.cdk.services.wafv2.cfnWebACL

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

  def apply(
    notStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.NotStatementProperty] = None,
    xssMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.XssMatchStatementProperty] = None,
    ipSetReferenceStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.IPSetReferenceStatementProperty] = None,
    regexPatternSetReferenceStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.RegexPatternSetReferenceStatementProperty] = None,
    geoMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.GeoMatchStatementProperty] = None,
    managedRuleGroupStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.ManagedRuleGroupStatementProperty] = None,
    rateBasedStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.RateBasedStatementProperty] = None,
    ruleGroupReferenceStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.RuleGroupReferenceStatementProperty] = None,
    labelMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.LabelMatchStatementProperty] = None,
    byteMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.ByteMatchStatementProperty] = None,
    sqliMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.SqliMatchStatementProperty] = None,
    andStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.AndStatementProperty] = None,
    sizeConstraintStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.SizeConstraintStatementProperty] = None,
    regexMatchStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.RegexMatchStatementProperty] = None,
    orStatement: Option[software.amazon.awscdk.services.wafv2.CfnWebACL.OrStatementProperty] = None
  ): software.amazon.awscdk.services.wafv2.CfnWebACL.StatementProperty =
    (new software.amazon.awscdk.services.wafv2.CfnWebACL.StatementProperty.Builder)
      .notStatement(notStatement.orNull)
      .xssMatchStatement(xssMatchStatement.orNull)
      .ipSetReferenceStatement(ipSetReferenceStatement.orNull)
      .regexPatternSetReferenceStatement(regexPatternSetReferenceStatement.orNull)
      .geoMatchStatement(geoMatchStatement.orNull)
      .managedRuleGroupStatement(managedRuleGroupStatement.orNull)
      .rateBasedStatement(rateBasedStatement.orNull)
      .ruleGroupReferenceStatement(ruleGroupReferenceStatement.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