Predicate class

Constructors

Predicate({required String dataId, required bool negated, required PredicateType type})
Predicate.fromJson(Map<String, dynamic> json)
factory

Properties

dataId String
A unique identifier for a predicate in a Rule, such as ByteMatchSetId or IPSetId. The ID is returned by the corresponding Create or List command.
final
hashCode int
The hash code for this object.
no setterinherited
negated bool
Set Negated to False if you want AWS WAF to allow, block, or count requests based on the settings in the specified ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, or SizeConstraintSet. 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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type PredicateType
The type of predicate in a Rule, such as ByteMatch or IPSet.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited