@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalRateBasedRuleMatchPredicate extends Object implements Serializable, Cloneable, StructuredPojo
Details for a match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.
| Constructor and Description |
|---|
AwsWafRegionalRateBasedRuleMatchPredicate() |
| Modifier and Type | Method and Description |
|---|---|
AwsWafRegionalRateBasedRuleMatchPredicate |
clone() |
boolean |
equals(Object obj) |
String |
getDataId()
The unique identifier for the predicate.
|
Boolean |
getNegated()
If set to
true, then the rule actions are performed on requests that match the predicate settings. |
String |
getType()
The type of predicate.
|
int |
hashCode() |
Boolean |
isNegated()
If set to
true, then the rule actions are performed on requests that match the predicate settings. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataId(String dataId)
The unique identifier for the predicate.
|
void |
setNegated(Boolean negated)
If set to
true, then the rule actions are performed on requests that match the predicate settings. |
void |
setType(String type)
The type of predicate.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafRegionalRateBasedRuleMatchPredicate |
withDataId(String dataId)
The unique identifier for the predicate.
|
AwsWafRegionalRateBasedRuleMatchPredicate |
withNegated(Boolean negated)
If set to
true, then the rule actions are performed on requests that match the predicate settings. |
AwsWafRegionalRateBasedRuleMatchPredicate |
withType(String type)
The type of predicate.
|
public AwsWafRegionalRateBasedRuleMatchPredicate()
public void setDataId(String dataId)
The unique identifier for the predicate.
dataId - The unique identifier for the predicate.public String getDataId()
The unique identifier for the predicate.
public AwsWafRegionalRateBasedRuleMatchPredicate withDataId(String dataId)
The unique identifier for the predicate.
dataId - The unique identifier for the predicate.public void setNegated(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.
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.
public Boolean getNegated()
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.
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.
public AwsWafRegionalRateBasedRuleMatchPredicate withNegated(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.
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.
public Boolean isNegated()
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.
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.
public void setType(String type)
The type of predicate. Valid values are as follows:
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
type - The type of predicate. Valid values are as follows:
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
public String getType()
The type of predicate. Valid values are as follows:
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
public AwsWafRegionalRateBasedRuleMatchPredicate withType(String type)
The type of predicate. Valid values are as follows:
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
type - The type of predicate. Valid values are as follows:
ByteMatch
GeoMatch
IPMatch
RegexMatch
SizeConstraint
SqlInjectionMatch
XssMatch
public String toString()
toString in class ObjectObject.toString()public AwsWafRegionalRateBasedRuleMatchPredicate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.