Class GoGridTemplateOptions

  • All Implemented Interfaces:
    Cloneable

    public class GoGridTemplateOptions
    extends TemplateOptions
    implements Cloneable
    Contains options supported by the ComputeService#createNodesInGroup(String, int, TemplateOptions) and ComputeService#createNodesInGroup(String, int, TemplateOptions) operations on the gogrid provider.

    Usage

    The recommended way to instantiate a GoGridTemplateOptions object is to statically import GoGridTemplateOptions.* and invoke a static creation method followed by an instance mutator (if needed):

     import static org.jclouds.compute.options.GoGridTemplateOptions.Builder.*;
     ComputeService client = // get connection
     templateBuilder.options(inboundPorts(22, 80, 8080, 443));
     Set<? extends NodeMetadata> set = client.createNodesInGroup(tag, 2, templateBuilder.build());
     
    TODO add GoGrid specific options