org.jclouds.gogrid.compute.options
Class GoGridTemplateOptions.Builder

java.lang.Object
  extended by org.jclouds.gogrid.compute.options.GoGridTemplateOptions.Builder
Enclosing class:
GoGridTemplateOptions

public static class GoGridTemplateOptions.Builder
extends Object


Constructor Summary
GoGridTemplateOptions.Builder()
           
 
Method Summary
static GoGridTemplateOptions blockOnPort(int port, int seconds)
           
static GoGridTemplateOptions inboundPorts(int... ports)
           
static GoGridTemplateOptions runScript(Payload script)
           
static GoGridTemplateOptions userMetadata(Map<String,String> userMetadata)
           
static GoGridTemplateOptions 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

GoGridTemplateOptions.Builder

public GoGridTemplateOptions.Builder()
Method Detail

inboundPorts

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

blockOnPort

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

runScript

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

userMetadata

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

userMetadata

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


Copyright © 2009-2012 jclouds. All Rights Reserved.