@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRateBasedRuleMatchPredicate extends Object implements Serializable, Cloneable, StructuredPojo
A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.
| Constructor and Description |
|---|
AwsWafRateBasedRuleMatchPredicate() |
| Modifier and Type | Method and Description |
|---|---|
AwsWafRateBasedRuleMatchPredicate |
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) |
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.
|
AwsWafRateBasedRuleMatchPredicate |
withDataId(String dataId)
The unique identifier for the predicate.
|
AwsWafRateBasedRuleMatchPredicate |
withNegated(Boolean negated)
If set to
true, then the rule actions are performed on requests that match the predicate settings. |
AwsWafRateBasedRuleMatchPredicate |
withType(String type)
The type of predicate.
|
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 AwsWafRateBasedRuleMatchPredicate 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 AwsWafRateBasedRuleMatchPredicate 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.
type - The type of predicate.public String getType()
The type of predicate.
public AwsWafRateBasedRuleMatchPredicate withType(String type)
The type of predicate.
type - The type of predicate.public String toString()
toString in class ObjectObject.toString()public AwsWafRateBasedRuleMatchPredicate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.