@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 RateBasedStatement.
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()
The version of the IP addresses, either
IPV4 or IPV6 . |
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)
The version of the IP addresses, either
IPV4 or IPV6 . |
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)
The version of the IP addresses, either
IPV4 or IPV6 . |
RateBasedStatementManagedKeysIPSet |
withIPAddressVersion(String iPAddressVersion)
The version of the IP addresses, either
IPV4 or IPV6 . |
public void setIPAddressVersion(String iPAddressVersion)
The version of the IP addresses, either IPV4
or IPV6
.
iPAddressVersion
- The version of the IP addresses, either IPV4
or IPV6
.IPAddressVersion
public String getIPAddressVersion()
The version of the IP addresses, either IPV4
or IPV6
.
IPV4
or IPV6
.IPAddressVersion
public RateBasedStatementManagedKeysIPSet withIPAddressVersion(String iPAddressVersion)
The version of the IP addresses, either IPV4
or IPV6
.
iPAddressVersion
- The version of the IP addresses, either IPV4
or IPV6
.IPAddressVersion
public RateBasedStatementManagedKeysIPSet withIPAddressVersion(IPAddressVersion iPAddressVersion)
The version of the IP addresses, either IPV4
or IPV6
.
iPAddressVersion
- The version of the IP addresses, either IPV4
or IPV6
.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.