@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalRulePredicateListDetails 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 |
---|
AwsWafRegionalRulePredicateListDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafRegionalRulePredicateListDetails |
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.
|
AwsWafRegionalRulePredicateListDetails |
withDataId(String dataId)
A unique identifier for a predicate in a rule, such as
ByteMatchSetId or IPSetId . |
AwsWafRegionalRulePredicateListDetails |
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 . |
AwsWafRegionalRulePredicateListDetails |
withType(String type)
The type of predicate in a rule, such as
ByteMatch or IPSet . |
public AwsWafRegionalRulePredicateListDetails()
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 AwsWafRegionalRulePredicateListDetails 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 AwsWafRegionalRulePredicateListDetails 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 AwsWafRegionalRulePredicateListDetails 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 Object
Object.toString()
public AwsWafRegionalRulePredicateListDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.