Class RulePredicateArgs.Builder

  • Enclosing class:
    RulePredicateArgs

    public static final class RulePredicateArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dataId

        public RulePredicateArgs.Builder dataId​(com.pulumi.core.Output<java.lang.String> dataId)
        Parameters:
        dataId - A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID.
        Returns:
        builder
      • dataId

        public RulePredicateArgs.Builder dataId​(java.lang.String dataId)
        Parameters:
        dataId - A unique identifier for a predicate in the rule, such as Byte Match Set ID or IPSet ID.
        Returns:
        builder
      • negated

        public RulePredicateArgs.Builder negated​(com.pulumi.core.Output<java.lang.Boolean> negated)
        Parameters:
        negated - Set this to `false` if you want to allow, block, or count requests based on the settings in the specified waf_byte_match_set, waf_ipset, aws_waf_size_constraint_set, aws.waf.SqlInjectionMatchSet or aws_waf_xss_match_set. For example, if an IPSet includes the IP address `192.0.2.44`, AWS WAF will allow or block requests based on that IP address. If set to `true`, AWS WAF will allow, block, or count requests based on all IP addresses except `192.0.2.44`.
        Returns:
        builder
      • negated

        public RulePredicateArgs.Builder negated​(java.lang.Boolean negated)
        Parameters:
        negated - Set this to `false` if you want to allow, block, or count requests based on the settings in the specified waf_byte_match_set, waf_ipset, aws_waf_size_constraint_set, aws.waf.SqlInjectionMatchSet or aws_waf_xss_match_set. For example, if an IPSet includes the IP address `192.0.2.44`, AWS WAF will allow or block requests based on that IP address. If set to `true`, AWS WAF will allow, block, or count requests based on all IP addresses except `192.0.2.44`.
        Returns:
        builder
      • type

        public RulePredicateArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of predicate in a rule. Valid values: `ByteMatch`, `GeoMatch`, `IPMatch`, `RegexMatch`, `SizeConstraint`, `SqlInjectionMatch`, or `XssMatch`.
        Returns:
        builder
      • type

        public RulePredicateArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The type of predicate in a rule. Valid values: `ByteMatch`, `GeoMatch`, `IPMatch`, `RegexMatch`, `SizeConstraint`, `SqlInjectionMatch`, or `XssMatch`.
        Returns:
        builder