public final class IpRule extends Object
| Constructor and Description |
|---|
IpRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
'124.56.78.0/24' (all addresses that start with 124.56.78).
|
IpRule |
withValue(String value)
Set the value property: An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or
'124.56.78.0/24' (all addresses that start with 124.56.78).
|
public String value()
public IpRule withValue(String value)
value - the value value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020. All rights reserved.