org.jclouds.cloudstack.compute.options
Class CloudStackTemplateOptions.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.compute.options.CloudStackTemplateOptions.Builder
Enclosing class:
CloudStackTemplateOptions

public static class CloudStackTemplateOptions.Builder
extends Object


Constructor Summary
CloudStackTemplateOptions.Builder()
           
 
Method Summary
static CloudStackTemplateOptions blockOnPort(int port, int seconds)
           
static CloudStackTemplateOptions inboundPorts(int... ports)
           
static CloudStackTemplateOptions ipOnDefaultNetwork(String ipAddress)
           
static CloudStackTemplateOptions ipsToNetworks(Map<String,Long> ipToNetworkMap)
           
static CloudStackTemplateOptions keyPair(String keyPair)
           
static CloudStackTemplateOptions networkId(long id)
           
static CloudStackTemplateOptions networkIds(Iterable<Long> networkIds)
           
static CloudStackTemplateOptions runScript(Payload script)
           
static CloudStackTemplateOptions securityGroupId(long id)
           
static CloudStackTemplateOptions securityGroupIds(Iterable<Long> securityGroupIds)
           
static CloudStackTemplateOptions setupStaticNat(boolean setupStaticNat)
           
static CloudStackTemplateOptions userMetadata(Map<String,String> userMetadata)
           
static CloudStackTemplateOptions userMetadata(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudStackTemplateOptions.Builder

public CloudStackTemplateOptions.Builder()
Method Detail

securityGroupId

public static CloudStackTemplateOptions securityGroupId(long id)
See Also:
CloudStackTemplateOptions.securityGroupId(long)

securityGroupIds

public static CloudStackTemplateOptions securityGroupIds(Iterable<Long> securityGroupIds)
See Also:
CloudStackTemplateOptions.securityGroupIds

networkId

public static CloudStackTemplateOptions networkId(long id)
See Also:
CloudStackTemplateOptions.networkId(long)

networkIds

public static CloudStackTemplateOptions networkIds(Iterable<Long> networkIds)
See Also:
CloudStackTemplateOptions.networkIds

ipOnDefaultNetwork

public static CloudStackTemplateOptions ipOnDefaultNetwork(String ipAddress)
See Also:
CloudStackTemplateOptions.ipOnDefaultNetwork

ipsToNetworks

public static CloudStackTemplateOptions ipsToNetworks(Map<String,Long> ipToNetworkMap)
See Also:
CloudStackTemplateOptions.ipsToNetworks

setupStaticNat

public static CloudStackTemplateOptions setupStaticNat(boolean setupStaticNat)
See Also:
CloudStackTemplateOptions.setupStaticNat

keyPair

public static CloudStackTemplateOptions keyPair(String keyPair)
See Also:
CloudStackTemplateOptions.keyPair

inboundPorts

public static CloudStackTemplateOptions inboundPorts(int... ports)
See Also:
TemplateOptions.inboundPorts(int...)

blockOnPort

public static CloudStackTemplateOptions blockOnPort(int port,
                                                    int seconds)
See Also:
TemplateOptions.blockOnPort(int, int)

runScript

public static CloudStackTemplateOptions runScript(Payload script)
See Also:
TemplateOptions.runScript(Payload)

userMetadata

public static CloudStackTemplateOptions userMetadata(Map<String,String> userMetadata)
See Also:
TemplateOptions.userMetadata(Map)

userMetadata

public static CloudStackTemplateOptions userMetadata(String key,
                                                     String value)
See Also:
TemplateOptions.userMetadata(String, String)


Copyright © 2009-2012 jclouds. All Rights Reserved.