@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RateBasedStatementManagedKeysIPSet extends Object implements Serializable, Cloneable, StructuredPojo
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) |
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 - IPAddressVersionpublic String getIPAddressVersion()
IPAddressVersionpublic RateBasedStatementManagedKeysIPSet withIPAddressVersion(String iPAddressVersion)
iPAddressVersion - IPAddressVersionpublic RateBasedStatementManagedKeysIPSet withIPAddressVersion(IPAddressVersion iPAddressVersion)
iPAddressVersion - IPAddressVersionpublic 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 ObjectObject.toString()public RateBasedStatementManagedKeysIPSet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.