public class IPSetUpdate extends Object implements Serializable, Cloneable
Specifies the type of update to perform to an IPSet with UpdateIPSet.
| Constructor and Description |
|---|
IPSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
IPSetUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetDescriptor |
getIPSetDescriptor()
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate
from. |
int |
hashCode() |
void |
setAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
void |
setAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
void |
setIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate
from. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IPSetUpdate |
withAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetUpdate |
withAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
IPSetUpdate |
withIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate
from. |
public void setAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action - Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeActionpublic String getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
ChangeActionpublic IPSetUpdate withAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action - Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeActionpublic void setAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action - Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeActionpublic IPSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
action - Specifies whether to insert or delete an IP address with UpdateIPSet.ChangeActionpublic void setIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate
from.
iPSetDescriptor - The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests
originate from.public IPSetDescriptor getIPSetDescriptor()
The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate
from.
IPV4) and the IP address range (in CIDR notation) that web requests
originate from.public IPSetUpdate withIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate
from.
iPSetDescriptor - The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests
originate from.public String toString()
toString in class ObjectObject.toString()public IPSetUpdate clone()
Copyright © 2016. All rights reserved.