org.jclouds.compute.options
Class TemplateOptions.Builder
java.lang.Object
org.jclouds.compute.options.RunScriptOptions.Builder
org.jclouds.compute.options.TemplateOptions.Builder
- Enclosing class:
- TemplateOptions
public static class TemplateOptions.Builder
- extends RunScriptOptions.Builder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateOptions.Builder
public TemplateOptions.Builder()
nameTask
public static TemplateOptions nameTask(String name)
overrideLoginUserWith
public static TemplateOptions overrideLoginUserWith(String user)
overrideLoginCredentialWith
public static TemplateOptions overrideLoginCredentialWith(String credential)
overrideCredentialsWith
public static TemplateOptions overrideCredentialsWith(Credentials 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
blockUntilRunning
public static TemplateOptions blockUntilRunning(boolean blockUntilRunning)
- See Also:
TemplateOptions.blockUntilRunning(boolean)
runScript
@Deprecated
public static TemplateOptions runScript(byte[] script)
- Deprecated.
- please use alternative that uses the {@link Statement) object
- See Also:
TemplateOptions.runScript(Statement)
runScript
public static TemplateOptions runScript(Payload script)
- See Also:
TemplateOptions.runScript(Statement)
,
Payloads
runScript
public static TemplateOptions runScript(Statement script)
- See Also:
TemplateOptions.runScript(Statement)
installPrivateKey
@Deprecated
public static TemplateOptions installPrivateKey(String rsaKey)
- Deprecated.
- please use alternative that uses the
Payload
object
- See Also:
Payloads
,
installPrivateKey(Payload)
installPrivateKey
public static TemplateOptions installPrivateKey(Payload rsaKey)
- See Also:
TemplateOptions.installPrivateKey(java.lang.String)
,
Payloads
authorizePublicKey
@Deprecated
public static TemplateOptions authorizePublicKey(String rsaKey)
- Deprecated.
- please use alternative that uses the
Payload
object
- See Also:
Payloads
,
authorizePublicKey(Payload)
authorizePublicKey
public static TemplateOptions authorizePublicKey(Payload rsaKey)
- See Also:
TemplateOptions.authorizePublicKey(Payload)
,
Payloads
userMetadata
public static TemplateOptions userMetadata(Map<String,String> userMetadata)
- See Also:
TemplateOptions.userMetadata(Map)
userMetadata
public static TemplateOptions userMetadata(String key,
String value)
- See Also:
TemplateOptions.userMetadata(String, String)
blockOnComplete
public static TemplateOptions blockOnComplete(boolean value)
Copyright © 2009-2011 jclouds. All Rights Reserved.