@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RateBasedStatementManagedKeysIPSet extends Object implements Serializable, Cloneable, StructuredPojo
This is the latest version of AWS WAF, named AWS WAFV2, released in November, 2019. For information, including how to migrate your AWS WAF resources from the prior release, see the AWS WAF Developer Guide.
The set of IP addresses that are currently blocked for a rate-based statement.
Constructor and Description |
---|
RateBasedStatementManagedKeysIPSet() |
Modifier and Type | Method and Description |
---|---|
RateBasedStatementManagedKeysIPSet |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddresses()
The IP addresses that are currently blocked.
|
String |
getIPAddressVersion() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddresses(Collection<String> addresses)
The IP addresses that are currently blocked.
|
void |
setIPAddressVersion(String iPAddressVersion) |
String |
toString()
Returns a string representation of this object.
|
RateBasedStatementManagedKeysIPSet |
withAddresses(Collection<String> addresses)
The IP addresses that are currently blocked.
|
RateBasedStatementManagedKeysIPSet |
withAddresses(String... addresses)
The IP addresses that are currently blocked.
|
RateBasedStatementManagedKeysIPSet |
withIPAddressVersion(IPAddressVersion iPAddressVersion) |
RateBasedStatementManagedKeysIPSet |
withIPAddressVersion(String iPAddressVersion) |
public void setIPAddressVersion(String iPAddressVersion)
iPAddressVersion
- IPAddressVersion
public String getIPAddressVersion()
IPAddressVersion
public RateBasedStatementManagedKeysIPSet withIPAddressVersion(String iPAddressVersion)
iPAddressVersion
- IPAddressVersion
public RateBasedStatementManagedKeysIPSet withIPAddressVersion(IPAddressVersion iPAddressVersion)
iPAddressVersion
- IPAddressVersion
public List<String> getAddresses()
The IP addresses that are currently blocked.
public void setAddresses(Collection<String> addresses)
The IP addresses that are currently blocked.
addresses
- The IP addresses that are currently blocked.public RateBasedStatementManagedKeysIPSet withAddresses(String... addresses)
The IP addresses that are currently blocked.
NOTE: This method appends the values to the existing list (if any). Use
setAddresses(java.util.Collection)
or withAddresses(java.util.Collection)
if you want to
override the existing values.
addresses
- The IP addresses that are currently blocked.public RateBasedStatementManagedKeysIPSet withAddresses(Collection<String> addresses)
The IP addresses that are currently blocked.
addresses
- The IP addresses that are currently blocked.public String toString()
toString
in class Object
Object.toString()
public RateBasedStatementManagedKeysIPSet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.