org.jclouds.googlecomputeengine.domain
Class Firewall.Rule.Builder
java.lang.Object
org.jclouds.googlecomputeengine.domain.Firewall.Rule.Builder
- Enclosing class:
- Firewall.Rule
public static final class Firewall.Rule.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Firewall.Rule.Builder
public Firewall.Rule.Builder()
IpProtocol
public Firewall.Rule.Builder IpProtocol(org.jclouds.net.domain.IpProtocol IpProtocol)
- See Also:
Firewall.Rule.getIpProtocol()
addPort
public Firewall.Rule.Builder addPort(Integer port)
- See Also:
Firewall.Rule.getPorts()
addPortRange
public Firewall.Rule.Builder addPortRange(Integer start,
Integer end)
- See Also:
Firewall.Rule.getPorts()
ports
public Firewall.Rule.Builder ports(com.google.common.collect.RangeSet<Integer> ports)
- See Also:
Firewall.Rule.getPorts()
build
public Firewall.Rule build()
fromFirewallRule
public Firewall.Rule.Builder fromFirewallRule(Firewall.Rule firewallRule)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.