public class LaunchSpecification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LaunchSpecification.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
availabilityZone |
protected Set<? extends BlockDeviceMapping> |
blockDeviceMappings |
protected String |
imageId |
protected String |
instanceType |
protected String |
kernelId |
protected String |
keyName |
protected Boolean |
monitoringEnabled |
protected String |
ramdiskId |
protected Set<String> |
securityGroupIds |
protected Map<String,String> |
securityGroupIdToNames |
protected Set<String> |
securityGroupNames |
protected byte[] |
userData |
Constructor and Description |
---|
LaunchSpecification(String instanceType,
String imageId,
String kernelId,
String ramdiskId,
String availabilityZone,
String keyName,
Map<String,String> securityGroupIdToNames,
Iterable<? extends BlockDeviceMapping> blockDeviceMappings,
Boolean monitoringEnabled,
Set<String> securityGroupIds,
Set<String> securityGroupNames,
byte[] userData) |
Modifier and Type | Method and Description |
---|---|
static LaunchSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The location where the instance launched.
|
Set<? extends BlockDeviceMapping> |
getBlockDeviceMappings()
volumes mappings associated with the instance.
|
String |
getImageId()
Image ID of the AMI used to launch the instance.
|
String |
getInstanceType()
The instance type.
|
String |
getKernelId()
Optional.
|
String |
getKeyName()
If this instance was launched with an associated key pair, this displays
the key pair name.
|
String |
getRamdiskId()
Optional.
|
Set<String> |
getSecurityGroupIds()
Ids of the security groups.
|
Map<String,String> |
getSecurityGroupIdToNames() |
Set<String> |
getSecurityGroupNames()
Names of the security groups.
|
byte[] |
getUserData()
User Data
|
int |
hashCode() |
Boolean |
isMonitoringEnabled()
CloudWatch support
|
LaunchSpecification.Builder |
toBuilder() |
String |
toString() |
protected final String instanceType
protected final String imageId
protected final String kernelId
protected final String ramdiskId
protected final String availabilityZone
protected final String keyName
protected final Set<? extends BlockDeviceMapping> blockDeviceMappings
protected final Boolean monitoringEnabled
protected final byte[] userData
public LaunchSpecification(String instanceType, String imageId, String kernelId, String ramdiskId, String availabilityZone, String keyName, Map<String,String> securityGroupIdToNames, Iterable<? extends BlockDeviceMapping> blockDeviceMappings, Boolean monitoringEnabled, Set<String> securityGroupIds, Set<String> securityGroupNames, byte[] userData)
public static LaunchSpecification.Builder builder()
public String getImageId()
public Boolean isMonitoringEnabled()
public String getInstanceType()
public String getKernelId()
public String getKeyName()
public String getAvailabilityZone()
public String getRamdiskId()
public Set<? extends BlockDeviceMapping> getBlockDeviceMappings()
public byte[] getUserData()
public LaunchSpecification.Builder toBuilder()
Copyright © 2009-2012 jclouds. All Rights Reserved.