org.jclouds.cloudstack.domain
Class FirewallRule.Builder
java.lang.Object
org.jclouds.cloudstack.domain.FirewallRule.Builder
- Enclosing class:
- FirewallRule
public static class FirewallRule.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FirewallRule.Builder
public FirewallRule.Builder()
id
public FirewallRule.Builder id(long id)
CIDRs
public FirewallRule.Builder CIDRs(Set<String> CIDRs)
startPort
public FirewallRule.Builder startPort(int startPort)
endPort
public FirewallRule.Builder endPort(int endPort)
icmpCode
public FirewallRule.Builder icmpCode(String icmpCode)
icmpType
public FirewallRule.Builder icmpType(String icmpType)
ipAddress
public FirewallRule.Builder ipAddress(String ipAddress)
ipAddressId
public FirewallRule.Builder ipAddressId(long ipAddressId)
protocol
public FirewallRule.Builder protocol(FirewallRule.Protocol protocol)
state
public FirewallRule.Builder state(FirewallRule.State state)
build
public FirewallRule build()
Copyright © 2009-2012 jclouds. All Rights Reserved.