@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RateLimitIP extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the IP address in the web request as an aggregate key for a rate-based rule. Each distinct IP address contributes to the aggregation instance.
This setting is used only in the RateBasedStatementCustomKey
specification of a rate-based rule
statement. To use this in the custom key settings, you must specify at least one other key to use, along with the IP
address. To aggregate on only the IP address, in your rate-based statement's AggregateKeyType
, specify
IP
.
JSON specification: "RateLimitIP": {}
Constructor and Description |
---|
RateLimitIP() |
Modifier and Type | Method and Description |
---|---|
RateLimitIP |
clone() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
toString()
Returns a string representation of this object.
|
public String toString()
toString
in class Object
Object.toString()
public RateLimitIP clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.