@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRulePredicateListDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about the ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.
| Constructor and Description |
|---|
AwsWafRulePredicateListDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsWafRulePredicateListDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDataId()
A unique identifier for a predicate in a rule, such as
ByteMatchSetId or IPSetId. |
Boolean |
getNegated()
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet. |
String |
getType()
The type of predicate in a rule, such as
ByteMatch or IPSet. |
int |
hashCode() |
Boolean |
isNegated()
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataId(String dataId)
A unique identifier for a predicate in a rule, such as
ByteMatchSetId or IPSetId. |
void |
setNegated(Boolean negated)
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet. |
void |
setType(String type)
The type of predicate in a rule, such as
ByteMatch or IPSet. |
String |
toString()
Returns a string representation of this object.
|
AwsWafRulePredicateListDetails |
withDataId(String dataId)
A unique identifier for a predicate in a rule, such as
ByteMatchSetId or IPSetId. |
AwsWafRulePredicateListDetails |
withNegated(Boolean negated)
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet. |
AwsWafRulePredicateListDetails |
withType(String type)
The type of predicate in a rule, such as
ByteMatch or IPSet. |
public void setDataId(String dataId)
A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId.
dataId - A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId
.public String getDataId()
A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId.
ByteMatchSetId or
IPSetId.public AwsWafRulePredicateListDetails withDataId(String dataId)
A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId.
dataId - A unique identifier for a predicate in a rule, such as ByteMatchSetId or IPSetId
.public void setNegated(Boolean negated)
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet.
negated - Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet
, RegexMatchSet, GeoMatchSet, or SizeConstraintSet.public Boolean getNegated()
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet.
ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, or
SizeConstraintSet.public AwsWafRulePredicateListDetails withNegated(Boolean negated)
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet.
negated - Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet
, RegexMatchSet, GeoMatchSet, or SizeConstraintSet.public Boolean isNegated()
Specifies if you want WAF to allow, block, or count requests based on the settings in the
ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet,
RegexMatchSet, GeoMatchSet, or SizeConstraintSet.
ByteMatchSet, IPSet, SqlInjectionMatchSet,
XssMatchSet, RegexMatchSet, GeoMatchSet, or
SizeConstraintSet.public void setType(String type)
The type of predicate in a rule, such as ByteMatch or IPSet.
type - The type of predicate in a rule, such as ByteMatch or IPSet.public String getType()
The type of predicate in a rule, such as ByteMatch or IPSet.
ByteMatch or IPSet.public AwsWafRulePredicateListDetails withType(String type)
The type of predicate in a rule, such as ByteMatch or IPSet.
type - The type of predicate in a rule, such as ByteMatch or IPSet.public String toString()
toString in class ObjectObject.toString()public AwsWafRulePredicateListDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.