public abstract static class Firewall.Rule.Builder extends Object
Constructor and Description |
---|
Firewall.Rule.Builder() |
Modifier and Type | Method and Description |
---|---|
Firewall.Rule |
build() |
abstract Firewall.Rule.Builder |
icmpCode(Integer icmpCode) |
abstract Firewall.Rule.Builder |
icmpType(Integer icmpType) |
abstract Firewall.Rule.Builder |
id(String id) |
abstract Firewall.Rule.Builder |
name(String name) |
abstract Firewall.Rule.Builder |
portRangeEnd(Integer portRangeEnd) |
abstract Firewall.Rule.Builder |
portRangeStart(Integer portRangeStart) |
abstract Firewall.Rule.Builder |
protocol(Firewall.Protocol protocol) |
abstract Firewall.Rule.Builder |
sourceIp(String sourceIp) |
abstract Firewall.Rule.Builder |
sourceMac(String sourceMac) |
abstract Firewall.Rule.Builder |
targetIp(String targetIp) |
public abstract Firewall.Rule.Builder id(String id)
public abstract Firewall.Rule.Builder name(String name)
public abstract Firewall.Rule.Builder portRangeEnd(Integer portRangeEnd)
public abstract Firewall.Rule.Builder portRangeStart(Integer portRangeStart)
public abstract Firewall.Rule.Builder protocol(Firewall.Protocol protocol)
public abstract Firewall.Rule.Builder sourceIp(String sourceIp)
public abstract Firewall.Rule.Builder sourceMac(String sourceMac)
public abstract Firewall.Rule.Builder targetIp(String targetIp)
public abstract Firewall.Rule.Builder icmpCode(Integer icmpCode)
public abstract Firewall.Rule.Builder icmpType(Integer icmpType)
public Firewall.Rule build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.