| Modifier and Type | Method and Description |
|---|---|
AclRule.Builder |
action(AclRule.Action action)
Sets the action for the ACL rule that will be built.
|
AclRule |
build()
Builds an ACL rule from the accumulated parameters.
|
AclRule.Builder |
dstIp(String dstIp)
Sets the destination IP address for the ACL rule that will be built.
|
AclRule.Builder |
dstTpPort(short dstTpPort)
Sets the destination transport layer port for the ACL rule that will be built.
|
AclRule.Builder |
ipProto(byte ipProto)
Sets the IP protocol for the ACL rule that will be built.
|
AclRule.Builder |
srcIp(String srcIp)
Sets the source IP address for the ACL rule that will be built.
|
public AclRule.Builder srcIp(String srcIp)
srcIp - source IP address to use for built ACL rulepublic AclRule.Builder dstIp(String dstIp)
dstIp - destination IP address to use for built ACL rulepublic AclRule.Builder ipProto(byte ipProto)
ipProto - IP protocol to use for built ACL rulepublic AclRule.Builder dstTpPort(short dstTpPort)
dstTpPort - destination transport layer port to use for built ACL rulepublic AclRule.Builder action(AclRule.Action action)
action - action to use for built ACL rulepublic AclRule build()
Copyright © 2015. All rights reserved.