Class IPSetUpdate
- java.lang.Object
-
- com.amazonaws.services.waf.model.IPSetUpdate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class IPSetUpdate extends Object implements Serializable, Cloneable
Specifies the type of update to perform to an IPSet with UpdateIPSet.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IPSetUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPSetUpdateclone()booleanequals(Object obj)StringgetAction()Specifies whether to insert or delete an IP address with UpdateIPSet.IPSetDescriptorgetIPSetDescriptor()The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate from.inthashCode()voidsetAction(ChangeAction action)Specifies whether to insert or delete an IP address with UpdateIPSet.voidsetAction(String action)Specifies whether to insert or delete an IP address with UpdateIPSet.voidsetIPSetDescriptor(IPSetDescriptor iPSetDescriptor)The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate from.StringtoString()Returns a string representation of this object; useful for testing and debugging.IPSetUpdatewithAction(ChangeAction action)Specifies whether to insert or delete an IP address with UpdateIPSet.IPSetUpdatewithAction(String action)Specifies whether to insert or delete an IP address with UpdateIPSet.IPSetUpdatewithIPSetDescriptor(IPSetDescriptor iPSetDescriptor)The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate from.
-
-
-
Method Detail
-
setAction
public void setAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
- Parameters:
action- Specifies whether to insert or delete an IP address with UpdateIPSet.- See Also:
ChangeAction
-
getAction
public String getAction()
Specifies whether to insert or delete an IP address with UpdateIPSet.
- Returns:
- Specifies whether to insert or delete an IP address with UpdateIPSet.
- See Also:
ChangeAction
-
withAction
public IPSetUpdate withAction(String action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
- Parameters:
action- Specifies whether to insert or delete an IP address with UpdateIPSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setAction
public void setAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
- Parameters:
action- Specifies whether to insert or delete an IP address with UpdateIPSet.- See Also:
ChangeAction
-
withAction
public IPSetUpdate withAction(ChangeAction action)
Specifies whether to insert or delete an IP address with UpdateIPSet.
- Parameters:
action- Specifies whether to insert or delete an IP address with UpdateIPSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChangeAction
-
setIPSetDescriptor
public void setIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate from.- Parameters:
iPSetDescriptor- The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate from.
-
getIPSetDescriptor
public IPSetDescriptor getIPSetDescriptor()
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate from.- Returns:
- The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate from.
-
withIPSetDescriptor
public IPSetUpdate withIPSetDescriptor(IPSetDescriptor iPSetDescriptor)
The IP address type (
IPV4) and the IP address range (in CIDR notation) that web requests originate from.- Parameters:
iPSetDescriptor- The IP address type (IPV4) and the IP address range (in CIDR notation) that web requests originate from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IPSetUpdate clone()
-
-