public class IPSetUpdate
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Specifies the type of update to perform to an IPSet with UpdateIPSet.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
action
Specifies whether to insert or delete an IP address with
UpdateIPSet.
|
private IPSetDescriptor |
iPSetDescriptor
The IP address type (
IPV4 ) and the IP address range (in CIDR
notation) that web requests originate from. |
Constructor and Description |
---|
IPSetUpdate() |
Modifier and Type | Method and Description |
---|---|
IPSetUpdate |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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. |
java.lang.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(java.lang.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. |
private java.lang.String action
Specifies whether to insert or delete an IP address with UpdateIPSet.
private IPSetDescriptor iPSetDescriptor
The IP address type (IPV4
) and the IP address range (in CIDR
notation) that web requests originate from.
public void setAction(java.lang.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.ChangeAction
public java.lang.String getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
ChangeAction
public IPSetUpdate withAction(java.lang.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.ChangeAction
public 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.ChangeAction
public 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.ChangeAction
public 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IPSetUpdate clone()
clone
in class java.lang.Object