org.jclouds.cloudstack.domain
Class FirewallRule.Builder<T extends FirewallRule.Builder<T>>
java.lang.Object
org.jclouds.cloudstack.domain.FirewallRule.Builder<T>
- Enclosing class:
- FirewallRule
public abstract static class FirewallRule.Builder<T extends FirewallRule.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected String id
CIDRs
protected Set<String> CIDRs
startPort
protected int startPort
endPort
protected int endPort
icmpCode
protected String icmpCode
icmpType
protected String icmpType
ipAddress
protected String ipAddress
ipAddressId
protected String ipAddressId
protocol
protected FirewallRule.Protocol protocol
state
protected FirewallRule.State state
FirewallRule.Builder
public FirewallRule.Builder()
self
protected abstract T self()
id
public T id(String id)
- See Also:
FirewallRule.getId()
CIDRs
public T CIDRs(Set<String> CIDRs)
- See Also:
FirewallRule.getCIDRs()
CIDRs
public T CIDRs(String... in)
startPort
public T startPort(int startPort)
- See Also:
FirewallRule.getStartPort()
endPort
public T endPort(int endPort)
- See Also:
FirewallRule.getEndPort()
icmpCode
public T icmpCode(String icmpCode)
- See Also:
FirewallRule.getIcmpCode()
icmpType
public T icmpType(String icmpType)
- See Also:
FirewallRule.getIcmpType()
ipAddress
public T ipAddress(String ipAddress)
- See Also:
FirewallRule.getIpAddress()
ipAddressId
public T ipAddressId(String ipAddressId)
- See Also:
FirewallRule.getIpAddressId()
protocol
public T protocol(FirewallRule.Protocol protocol)
- See Also:
FirewallRule.getProtocol()
state
public T state(FirewallRule.State state)
- See Also:
FirewallRule.getState()
build
public FirewallRule build()
fromFirewallRule
public T fromFirewallRule(FirewallRule in)
Copyright © 2009-2012 jclouds. All Rights Reserved.