public final class IpRule extends Object
| Constructor and Description |
|---|
IpRule() |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
Get the action property: The action of IP ACL rule.
|
String |
ipAddressOrRange()
Get the ipAddressOrRange property: Specifies the IP or IP range in CIDR format.
|
void |
validate()
Validates the instance.
|
IpRule |
withAction(Action action)
Set the action property: The action of IP ACL rule.
|
IpRule |
withIpAddressOrRange(String ipAddressOrRange)
Set the ipAddressOrRange property: Specifies the IP or IP range in CIDR format.
|
public String ipAddressOrRange()
public IpRule withIpAddressOrRange(String ipAddressOrRange)
ipAddressOrRange - the ipAddressOrRange value to set.public Action action()
public IpRule withAction(Action action)
action - the action value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.