public static class EC2TemplateOptions.Builder extends TemplateOptions.Builder
Constructor and Description |
---|
EC2TemplateOptions.Builder() |
networks
wrapInInitScript
public static EC2TemplateOptions blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings)
public static EC2TemplateOptions mapEBSSnapshotToDeviceName(String deviceName, String snapshotId, @Nullable Integer sizeInGib, boolean deleteOnTermination)
public static EC2TemplateOptions mapNewVolumeToDeviceName(String deviceName, int sizeInGib, boolean deleteOnTermination)
public static EC2TemplateOptions mapEphemeralDeviceToDeviceName(String deviceName, String virtualName)
public static EC2TemplateOptions unmapDeviceNamed(String deviceName)
public static EC2TemplateOptions securityGroups(String... groupNames)
EC2TemplateOptions#securityGroups(Iterable)
public static EC2TemplateOptions securityGroups(Iterable<String> groupNames)
EC2TemplateOptions#securityGroups(Iterable)
public static EC2TemplateOptions keyPair(String keyPair)
EC2TemplateOptions.keyPair
public static EC2TemplateOptions userData(byte[] unencodedData)
EC2TemplateOptions.userData
public static EC2TemplateOptions noKeyPair()
EC2TemplateOptions.noKeyPair
public static EC2TemplateOptions inboundPorts(int... ports)
TemplateOptions.inboundPorts
public static EC2TemplateOptions blockOnPort(int port, int seconds)
RunScriptOptions.port
public static EC2TemplateOptions installPrivateKey(String rsaKey)
public static EC2TemplateOptions authorizePublicKey(String rsaKey)
public static EC2TemplateOptions userMetadata(Map<String,String> userMetadata)
TemplateOptions.userMetadata(Map)
public static EC2TemplateOptions nodeNames(Iterable<String> nodeNames)
TemplateOptions.nodeNames(Iterable)
public static EC2TemplateOptions networks(Iterable<String> networks)
TemplateOptions.networks(Iterable)
public static EC2TemplateOptions overrideLoginUser(String user)
public static EC2TemplateOptions overrideLoginPassword(String password)
public static EC2TemplateOptions overrideLoginPrivateKey(String privateKey)
public static EC2TemplateOptions overrideAuthenticateSudo(boolean authenticateSudo)
public static EC2TemplateOptions overrideLoginCredentials(LoginCredentials credentials)
public static EC2TemplateOptions nameTask(String name)
public static EC2TemplateOptions runAsRoot(boolean value)
public static EC2TemplateOptions tags(Iterable<String> tags)
public static EC2TemplateOptions blockUntilRunning(boolean blockUntilRunning)
public static EC2TemplateOptions runScript(Statement script)
public static EC2TemplateOptions runScript(String script)
public static EC2TemplateOptions userMetadata(String key, String value)
public static EC2TemplateOptions blockOnComplete(boolean value)
public static EC2TemplateOptions maxCount(Integer maxCount)
public static EC2TemplateOptions clientToken(String clientToken)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.