org.jclouds.cloudstack.domain
Class FirewallRule.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.domain.FirewallRule.Builder
Enclosing class:
FirewallRule

public static class FirewallRule.Builder
extends Object


Constructor Summary
FirewallRule.Builder()
           
 
Method Summary
 FirewallRule build()
           
 FirewallRule.Builder CIDRs(Set<String> CIDRs)
           
 FirewallRule.Builder endPort(int endPort)
           
 FirewallRule.Builder icmpCode(String icmpCode)
           
 FirewallRule.Builder icmpType(String icmpType)
           
 FirewallRule.Builder id(long id)
           
 FirewallRule.Builder ipAddress(String ipAddress)
           
 FirewallRule.Builder ipAddressId(long ipAddressId)
           
 FirewallRule.Builder protocol(FirewallRule.Protocol protocol)
           
 FirewallRule.Builder startPort(int startPort)
           
 FirewallRule.Builder state(FirewallRule.State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirewallRule.Builder

public FirewallRule.Builder()
Method Detail

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.