org.jclouds.ec2.options
Class RunInstancesOptions.Builder

java.lang.Object
  extended by org.jclouds.ec2.options.RunInstancesOptions.Builder
Direct Known Subclasses:
AWSRunInstancesOptions.Builder
Enclosing class:
RunInstancesOptions

public static class RunInstancesOptions.Builder
extends Object


Constructor Summary
RunInstancesOptions.Builder()
           
 
Method Summary
static RunInstancesOptions asType(String instanceType)
           
static RunInstancesOptions withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
           
static RunInstancesOptions withKernelId(String kernelId)
           
static RunInstancesOptions withKeyName(String keyName)
           
static RunInstancesOptions withRamdisk(String ramdiskId)
           
static RunInstancesOptions withSecurityGroup(String securityGroup)
           
static RunInstancesOptions withUserData(byte[] unencodedData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunInstancesOptions.Builder

public RunInstancesOptions.Builder()
Method Detail

withKeyName

public static RunInstancesOptions withKeyName(String keyName)
See Also:
RunInstancesOptions.withKeyName(String)

withSecurityGroup

public static RunInstancesOptions withSecurityGroup(String securityGroup)
See Also:
RunInstancesOptions.withSecurityGroup(String)

withUserData

public static RunInstancesOptions withUserData(byte[] unencodedData)
See Also:
RunInstancesOptions.withUserData(byte [])

asType

public static RunInstancesOptions asType(String instanceType)
See Also:
RunInstancesOptions#asType(InstanceType)

withKernelId

public static RunInstancesOptions withKernelId(String kernelId)
See Also:
RunInstancesOptions.withKernelId(String)

withRamdisk

public static RunInstancesOptions withRamdisk(String ramdiskId)
See Also:
RunInstancesOptions.withRamdisk(String)

withBlockDeviceMappings

public static RunInstancesOptions withBlockDeviceMappings(Set<? extends BlockDeviceMapping> mappings)
See Also:
RunInstancesOptions#withBlockDeviceMappings(Set mappings)


Copyright © 2009-2011 jclouds. All Rights Reserved.