public static class NovaTemplateOptions.Builder extends Object
Constructor and Description |
---|
NovaTemplateOptions.Builder() |
public static NovaTemplateOptions autoAssignFloatingIp(boolean enable)
public static NovaTemplateOptions generateKeyPair(boolean enable)
public static NovaTemplateOptions keyPairName(String keyPairName)
NovaTemplateOptions.getKeyPairName()
public static NovaTemplateOptions securityGroupNames(String... groupNames)
public static NovaTemplateOptions securityGroupNames(Iterable<String> groupNames)
public static NovaTemplateOptions inboundPorts(int... ports)
TemplateOptions.inboundPorts
public static NovaTemplateOptions blockOnPort(int port, int seconds)
RunScriptOptions.port
public static NovaTemplateOptions installPrivateKey(String rsaKey)
public static NovaTemplateOptions authorizePublicKey(String rsaKey)
public static NovaTemplateOptions userMetadata(Map<String,String> userMetadata)
TemplateOptions.userMetadata
public static NovaTemplateOptions nodeNames(Iterable<String> nodeNames)
TemplateOptions.nodeNames(Iterable)
public static NovaTemplateOptions networks(Iterable<String> networks)
TemplateOptions.networks(Iterable)
public static NovaTemplateOptions overrideLoginUser(String user)
public static NovaTemplateOptions overrideLoginPassword(String password)
public static NovaTemplateOptions overrideLoginPrivateKey(String privateKey)
public static NovaTemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
public static NovaTemplateOptions overrideLoginCredentials(LoginCredentials credentials)
public static NovaTemplateOptions blockUntilRunning(boolean blockUntilRunning)
TemplateOptions.blockUntilRunning
public static NovaTemplateOptions userData(byte[] userData)
NovaTemplateOptions.userData
public static NovaTemplateOptions diskConfig(String diskConfig)
CreateServerOptions.getDiskConfig()
public static NovaTemplateOptions configDrive(boolean configDrive)
CreateServerOptions.getConfigDrive()
public static NovaTemplateOptions novaNetworks(Set<Network> novaNetworks)
CreateServerOptions.getNetworks()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.