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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IPSetUpdate clone()
-
-