public static class TemplateOptions.Builder extends RunScriptOptions.Builder
Constructor and Description |
---|
TemplateOptions.Builder() |
wrapInInitScript
public static TemplateOptions nameTask(String name)
@Deprecated public static TemplateOptions overrideLoginUserWith(String user)
public static TemplateOptions overrideLoginUser(String user)
public static TemplateOptions overrideLoginPassword(String password)
public static TemplateOptions overrideLoginPrivateKey(String privateKey)
public static TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
@Deprecated public static TemplateOptions overrideLoginCredentialWith(String credential)
@Deprecated public static TemplateOptions overrideCredentialsWith(Credentials credentials)
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)
@Deprecated public static TemplateOptions runScript(Payload script)
TemplateOptions.runScript(Statement)
,
Payloads
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-2012 jclouds. All Rights Reserved.