Package org.jclouds.compute.options
Class TemplateOptions.Builder
- java.lang.Object
-
- org.jclouds.compute.options.RunScriptOptions.Builder
-
- org.jclouds.compute.options.TemplateOptions.Builder
-
- Direct Known Subclasses:
EC2TemplateOptions.Builder
- Enclosing class:
- TemplateOptions
public static class TemplateOptions.Builder extends RunScriptOptions.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
Methods inherited from class org.jclouds.compute.options.RunScriptOptions.Builder
wrapInInitScript
-
-
-
-
Method Detail
-
nameTask
public static TemplateOptions nameTask(String name)
-
overrideLoginUser
public static TemplateOptions overrideLoginUser(String user)
-
overrideLoginPassword
public static TemplateOptions overrideLoginPassword(String password)
-
overrideLoginPrivateKey
public static TemplateOptions overrideLoginPrivateKey(String privateKey)
-
overrideAuthenticateSudo
public static TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
-
overrideLoginCredentials
public static TemplateOptions overrideLoginCredentials(LoginCredentials credentials)
-
runAsRoot
public static TemplateOptions runAsRoot(boolean value)
-
blockOnPort
public static TemplateOptions blockOnPort(int port, int seconds)
- See Also:
TemplateOptions.blockOnPort(int, int)
-
inboundPorts
public static TemplateOptions inboundPorts(int... ports)
- See Also:
TemplateOptions.inboundPorts
-
tags
public static TemplateOptions tags(Iterable<String> tags)
- See Also:
TemplateOptions.tags
-
nodeNames
public static TemplateOptions nodeNames(Iterable<String> nodeNames)
- See Also:
TemplateOptions.nodeNames
-
securityGroups
public static TemplateOptions securityGroups(Iterable<String> securityGroups)
- See Also:
TemplateOptions.securityGroups
-
securityGroups
public static TemplateOptions securityGroups(String... securityGroups)
- See Also:
TemplateOptions.securityGroups
-
networks
public static TemplateOptions networks(Iterable<String> networks)
- See Also:
TemplateOptions.networks
-
networks
public static TemplateOptions networks(String... networks)
- See Also:
TemplateOptions.networks
-
blockUntilRunning
public static TemplateOptions blockUntilRunning(boolean blockUntilRunning)
-
runScript
public static TemplateOptions runScript(Statement script)
- See Also:
TemplateOptions.runScript(Statement)
-
runScript
public static TemplateOptions runScript(String script)
- See Also:
TemplateOptions.runScript(String)
-
installPrivateKey
public static TemplateOptions installPrivateKey(String rsaKey)
please use alternative that uses thePayload
object- See Also:
Payloads
,#installPrivateKey(Payload)
-
authorizePublicKey
public static TemplateOptions authorizePublicKey(String rsaKey)
please use alternative that uses thePayload
object- See Also:
authorizePublicKey(String)
-
userMetadata
public static TemplateOptions userMetadata(Map<String,String> userMetadata)
- See Also:
TemplateOptions.userMetadata(Map)
-
userMetadata
public static TemplateOptions userMetadata(String key, String value)
-
blockOnComplete
public static TemplateOptions blockOnComplete(boolean value)
-
-