Class GoGridTemplateOptions.Builder
- java.lang.Object
-
- org.jclouds.gogrid.compute.options.GoGridTemplateOptions.Builder
-
- Enclosing class:
- GoGridTemplateOptions
public static class GoGridTemplateOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GoGridTemplateOptions
blockOnPort(int port, int seconds)
static GoGridTemplateOptions
inboundPorts(int... ports)
static GoGridTemplateOptions
networks(Iterable<String> networks)
static GoGridTemplateOptions
nodeNames(Iterable<String> nodeNames)
static GoGridTemplateOptions
userMetadata(String key, String value)
static GoGridTemplateOptions
userMetadata(Map<String,String> userMetadata)
-
-
-
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)
-
userMetadata
public static GoGridTemplateOptions userMetadata(Map<String,String> userMetadata)
- See Also:
TemplateOptions.userMetadata(Map)
-
userMetadata
public static GoGridTemplateOptions userMetadata(String key, String value)
-
nodeNames
public static GoGridTemplateOptions nodeNames(Iterable<String> nodeNames)
- See Also:
TemplateOptions.nodeNames(Iterable)
-
networks
public static GoGridTemplateOptions networks(Iterable<String> networks)
- See Also:
TemplateOptions.networks(Iterable)
-
-