Package org.jclouds.profitbricks.domain
Class Firewall.Rule.Builder
- java.lang.Object
-
- org.jclouds.profitbricks.domain.Firewall.Rule.Builder
-
- Enclosing class:
- Firewall.Rule
public abstract static class Firewall.Rule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
id
public abstract Firewall.Rule.Builder id(String id)
-
name
public abstract Firewall.Rule.Builder name(String name)
-
portRangeEnd
public abstract Firewall.Rule.Builder portRangeEnd(Integer portRangeEnd)
-
portRangeStart
public abstract Firewall.Rule.Builder portRangeStart(Integer portRangeStart)
-
protocol
public abstract Firewall.Rule.Builder protocol(Firewall.Protocol protocol)
-
sourceIp
public abstract Firewall.Rule.Builder sourceIp(String sourceIp)
-
sourceMac
public abstract Firewall.Rule.Builder sourceMac(String sourceMac)
-
targetIp
public abstract Firewall.Rule.Builder targetIp(String targetIp)
-
icmpCode
public abstract Firewall.Rule.Builder icmpCode(Integer icmpCode)
-
icmpType
public abstract Firewall.Rule.Builder icmpType(Integer icmpType)
-
build
public Firewall.Rule build()
-
-