org.jclouds.cloudstack.domain
Class IPForwardingRule.Builder

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

public static class IPForwardingRule.Builder
extends Object


Field Summary
 int endPort
           
 int publicPort
           
 long virtualMachineId
           
 
Constructor Summary
IPForwardingRule.Builder()
           
 
Method Summary
 IPForwardingRule build()
           
 IPForwardingRule.Builder CIDRs(Set<String> CIDRs)
           
 IPForwardingRule.Builder endPort(int endPort)
           
 IPForwardingRule.Builder id(long id)
           
 IPForwardingRule.Builder IPAddress(String IPAddress)
           
 IPForwardingRule.Builder IPAddressId(long IPAddressId)
           
 IPForwardingRule.Builder privateEndPort(int privateEndPort)
           
 IPForwardingRule.Builder protocol(String protocol)
           
 IPForwardingRule.Builder publicEndPort(int publicEndPort)
           
 IPForwardingRule.Builder publicPort(int publicPort)
           
 IPForwardingRule.Builder startPort(int startPort)
           
 IPForwardingRule.Builder state(String state)
           
 IPForwardingRule.Builder virtualMachineDisplayName(String virtualMachineDisplayName)
           
 IPForwardingRule.Builder virtualMachineId(long virtualMachineId)
           
 IPForwardingRule.Builder virtualMachineName(String virtualMachineName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endPort

public int endPort

virtualMachineId

public long virtualMachineId

publicPort

public int publicPort
Constructor Detail

IPForwardingRule.Builder

public IPForwardingRule.Builder()
Method Detail

id

public IPForwardingRule.Builder id(long id)

IPAddress

public IPForwardingRule.Builder IPAddress(String IPAddress)

IPAddressId

public IPForwardingRule.Builder IPAddressId(long IPAddressId)

startPort

public IPForwardingRule.Builder startPort(int startPort)

protocol

public IPForwardingRule.Builder protocol(String protocol)

endPort

public IPForwardingRule.Builder endPort(int endPort)

state

public IPForwardingRule.Builder state(String state)

virtualMachineDisplayName

public IPForwardingRule.Builder virtualMachineDisplayName(String virtualMachineDisplayName)

virtualMachineId

public IPForwardingRule.Builder virtualMachineId(long virtualMachineId)

virtualMachineName

public IPForwardingRule.Builder virtualMachineName(String virtualMachineName)

publicPort

public IPForwardingRule.Builder publicPort(int publicPort)

CIDRs

public IPForwardingRule.Builder CIDRs(Set<String> CIDRs)

privateEndPort

public IPForwardingRule.Builder privateEndPort(int privateEndPort)

publicEndPort

public IPForwardingRule.Builder publicEndPort(int publicEndPort)

build

public IPForwardingRule build()


Copyright © 2009-2012 jclouds. All Rights Reserved.