org.jclouds.vcloud.compute.options
Class VCloudTemplateOptions.Builder

java.lang.Object
  extended by org.jclouds.vcloud.compute.options.VCloudTemplateOptions.Builder
Enclosing class:
VCloudTemplateOptions

public static class VCloudTemplateOptions.Builder
extends Object


Constructor Summary
VCloudTemplateOptions.Builder()
           
 
Method Summary
static VCloudTemplateOptions authorizePublicKey(Payload rsaKey)
           
static VCloudTemplateOptions blockOnPort(int port, int seconds)
           
static VCloudTemplateOptions customizationScript(String customizationScript)
           
static VCloudTemplateOptions description(String description)
           
static VCloudTemplateOptions inboundPorts(int... ports)
           
static VCloudTemplateOptions installPrivateKey(Payload rsaKey)
           
static VCloudTemplateOptions ipAddressAllocationMode(IpAddressAllocationMode ipAddressAllocationMode)
           
static VCloudTemplateOptions runScript(Payload script)
           
static VCloudTemplateOptions userMetadata(Map<String,String> userMetadata)
           
static VCloudTemplateOptions 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

VCloudTemplateOptions.Builder

public VCloudTemplateOptions.Builder()
Method Detail

description

public static VCloudTemplateOptions description(String description)
See Also:
VCloudTemplateOptions.description

customizationScript

public static VCloudTemplateOptions customizationScript(String customizationScript)
See Also:
VCloudTemplateOptions.customizationScript

ipAddressAllocationMode

public static VCloudTemplateOptions ipAddressAllocationMode(IpAddressAllocationMode ipAddressAllocationMode)
See Also:
VCloudTemplateOptions.ipAddressAllocationMode

inboundPorts

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

blockOnPort

public static VCloudTemplateOptions blockOnPort(int port,
                                                int seconds)
See Also:
RunScriptOptions.port

runScript

public static VCloudTemplateOptions runScript(Payload script)
See Also:
TemplateOptions.runScript(byte[])

installPrivateKey

public static VCloudTemplateOptions installPrivateKey(Payload rsaKey)
See Also:
TemplateOptions.installPrivateKey(java.lang.String)

authorizePublicKey

public static VCloudTemplateOptions authorizePublicKey(Payload rsaKey)
See Also:
TemplateOptions.authorizePublicKey(java.lang.String)

userMetadata

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

userMetadata

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


Copyright © 2009-2011 jclouds. All Rights Reserved.