public class IPRule extends Object
Constructor and Description |
---|
IPRule() |
Modifier and Type | Method and Description |
---|---|
Action |
action()
Get the action of IP ACL rule.
|
String |
iPAddressOrRange()
Get specifies the IP or IP range in CIDR format.
|
IPRule |
withAction(Action action)
Set the action of IP ACL rule.
|
IPRule |
withIPAddressOrRange(String iPAddressOrRange)
Set specifies the IP or IP range in CIDR format.
|
public String iPAddressOrRange()
public IPRule withIPAddressOrRange(String iPAddressOrRange)
iPAddressOrRange
- the iPAddressOrRange value to setpublic Action action()
Copyright © 2019. All rights reserved.