public static class TemplateOptions.Builder extends RunScriptOptions.Builder
Constructor and Description |
---|
TemplateOptions.Builder() |
wrapInInitScript
public static TemplateOptions nameTask(String name)
public static TemplateOptions overrideLoginUser(String user)
public static TemplateOptions overrideLoginPassword(String password)
public static TemplateOptions overrideLoginPrivateKey(String privateKey)
public static TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
public static TemplateOptions overrideLoginCredentials(LoginCredentials credentials)
public static TemplateOptions runAsRoot(boolean value)
public static TemplateOptions blockOnPort(int port, int seconds)
public static TemplateOptions inboundPorts(int... ports)
TemplateOptions.inboundPorts
public static TemplateOptions tags(Iterable<String> tags)
TemplateOptions.tags
public static TemplateOptions blockUntilRunning(boolean blockUntilRunning)
public static TemplateOptions runScript(Statement script)
TemplateOptions.runScript(Statement)
public static TemplateOptions runScript(String script)
TemplateOptions.runScript(String)
public static TemplateOptions installPrivateKey(String rsaKey)
Payload
objectPayloads
,
#installPrivateKey(Payload)
public static TemplateOptions authorizePublicKey(String rsaKey)
Payload
objectauthorizePublicKey(String)
public static TemplateOptions userMetadata(Map<String,String> userMetadata)
TemplateOptions.userMetadata(Map)
public static TemplateOptions userMetadata(String key, String value)
public static TemplateOptions blockOnComplete(boolean value)
Copyright © 2009-2013 jclouds. All Rights Reserved.