Class IPSetDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Specifies the IP address type (IPV4) and the IP address range
(in CIDR format) that web requests originate from.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetType()SpecifyIPV4.getValue()Specify an IPv4 address by using CIDR notation.inthashCode()voidsetType(IPSetDescriptorType type) SpecifyIPV4.voidSpecifyIPV4.voidSpecify an IPv4 address by using CIDR notation.toString()Returns a string representation of this object; useful for testing and debugging.withType(IPSetDescriptorType type) SpecifyIPV4.SpecifyIPV4.Specify an IPv4 address by using CIDR notation.
-
Constructor Details
-
IPSetDescriptor
public IPSetDescriptor()
-
-
Method Details
-
setType
Specify
IPV4.- Parameters:
type- SpecifyIPV4.- See Also:
-
getType
Specify
IPV4.- Returns:
- Specify
IPV4. - See Also:
-
withType
Specify
IPV4.- Parameters:
type- SpecifyIPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
Specify
IPV4.- Parameters:
type- SpecifyIPV4.- See Also:
-
withType
Specify
IPV4.- Parameters:
type- SpecifyIPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setValue
Specify an IPv4 address by using CIDR notation. For example:
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- Parameters:
value- Specify an IPv4 address by using CIDR notation. For example:- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255,
specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
-
getValue
Specify an IPv4 address by using CIDR notation. For example:
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- Returns:
- Specify an IPv4 address by using CIDR notation. For example:
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255,
specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
-
withValue
Specify an IPv4 address by using CIDR notation. For example:
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255, specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- Parameters:
value- Specify an IPv4 address by using CIDR notation. For example:- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
192.0.2.44/32. - To configure AWS WAF to allow, block, or count requests that
originated from IP addresses from 192.0.2.0 to 192.0.2.255,
specify
192.0.2.0/24.
AWS WAF supports only /8, /16, /24, and /32 IP addresses.
For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- To configure AWS WAF to allow, block, or count requests that
originated from the IP address 192.0.2.44, specify
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-