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: Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR
format (eg., 123.1.2.3/24) to be allowed.
|
IpRule |
withValue(String value)
Set the value property: Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR
format (eg., 123.1.2.3/24) to be allowed.
|
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 © 2021 Microsoft Corporation. All rights reserved.