org.jclouds.ec2.compute.options
Class EC2TemplateOptions.Builder
java.lang.Object
org.jclouds.ec2.compute.options.EC2TemplateOptions.Builder
- Enclosing class:
- EC2TemplateOptions
public static class EC2TemplateOptions.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2TemplateOptions.Builder
public EC2TemplateOptions.Builder()
blockDeviceMappings
public static EC2TemplateOptions blockDeviceMappings(Set<? extends BlockDeviceMapping> blockDeviceMappings)
- See Also:
EC2TemplateOptions.blockDeviceMappings
mapEBSSnapshotToDeviceName
public static EC2TemplateOptions mapEBSSnapshotToDeviceName(String deviceName,
String snapshotId,
@Nullable
Integer sizeInGib,
boolean deleteOnTermination)
- See Also:
EC2TemplateOptions.mapEBSSnapshotToDeviceName(java.lang.String, java.lang.String, java.lang.Integer, boolean)
mapNewVolumeToDeviceName
public static EC2TemplateOptions mapNewVolumeToDeviceName(String deviceName,
int sizeInGib,
boolean deleteOnTermination)
- See Also:
EC2TemplateOptions.mapNewVolumeToDeviceName(java.lang.String, int, boolean)
mapEphemeralDeviceToDeviceName
public static EC2TemplateOptions mapEphemeralDeviceToDeviceName(String deviceName,
String virtualName)
- See Also:
EC2TemplateOptions.mapEphemeralDeviceToDeviceName(java.lang.String, java.lang.String)
unmapDeviceNamed
public static EC2TemplateOptions unmapDeviceNamed(String deviceName)
- See Also:
EC2TemplateOptions.unmapDeviceNamed(java.lang.String)
securityGroups
public static EC2TemplateOptions securityGroups(String... groupNames)
- See Also:
EC2TemplateOptions#securityGroups(Iterable)
securityGroups
public static EC2TemplateOptions securityGroups(Iterable<String> groupNames)
- See Also:
EC2TemplateOptions#securityGroups(Iterable)
keyPair
public static EC2TemplateOptions keyPair(String keyPair)
- See Also:
EC2TemplateOptions.keyPair
userData
public static EC2TemplateOptions userData(byte[] unencodedData)
- See Also:
EC2TemplateOptions.userData
noKeyPair
public static EC2TemplateOptions noKeyPair()
- See Also:
EC2TemplateOptions.noKeyPair
inboundPorts
public static EC2TemplateOptions inboundPorts(int... ports)
- See Also:
TemplateOptions.inboundPorts
blockOnPort
public static EC2TemplateOptions blockOnPort(int port,
int seconds)
- See Also:
RunScriptOptions.port
runScript
public static EC2TemplateOptions runScript(byte[] script)
- See Also:
TemplateOptions.runScript(byte[])
installPrivateKey
public static EC2TemplateOptions installPrivateKey(String rsaKey)
- See Also:
TemplateOptions.installPrivateKey(java.lang.String)
authorizePublicKey
public static EC2TemplateOptions authorizePublicKey(String rsaKey)
- See Also:
TemplateOptions.authorizePublicKey(java.lang.String)
userMetadata
public static EC2TemplateOptions userMetadata(Map<String,String> userMetadata)
- See Also:
TemplateOptions.userMetadata(Map)
userMetadata
public static EC2TemplateOptions userMetadata(String key,
String value)
- See Also:
TemplateOptions.userMetadata(String, String)
Copyright © 2009-2011 jclouds. All Rights Reserved.