Class AwsWafRateBasedRuleMatchPredicate

    • Method Detail

      • dataId

        public final String dataId()

        The unique identifier for the predicate.

        Returns:
        The unique identifier for the predicate.
      • negated

        public final Boolean negated()

        If set to true, then the rule actions are performed on requests that match the predicate settings.

        If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

        Returns:
        If set to true, then the rule actions are performed on requests that match the predicate settings.

        If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

      • type

        public final String type()

        The type of predicate. Valid values are as follows:

        • ByteMatch

        • GeoMatch

        • IPMatch

        • RegexMatch

        • SizeConstraint

        • SqlInjectionMatch

        • XssMatch

        Returns:
        The type of predicate. Valid values are as follows:

        • ByteMatch

        • GeoMatch

        • IPMatch

        • RegexMatch

        • SizeConstraint

        • SqlInjectionMatch

        • XssMatch

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)