|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jclouds.aws.ec2.domain.LaunchSpecification
public class LaunchSpecification
Nested Class Summary | |
---|---|
static class |
LaunchSpecification.Builder
|
static class |
LaunchSpecification.IAMInstanceProfileRequest
|
Field Summary | |
---|---|
protected String |
availabilityZone
|
protected Set<? extends org.jclouds.ec2.domain.BlockDeviceMapping> |
blockDeviceMappings
|
protected com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> |
iamInstanceProfile
|
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 String |
subnetId
|
protected byte[] |
userData
|
Constructor Summary | |
---|---|
LaunchSpecification(String instanceType,
String imageId,
String kernelId,
String ramdiskId,
String availabilityZone,
String subnetId,
String keyName,
Map<String,String> securityGroupIdToNames,
Iterable<? extends org.jclouds.ec2.domain.BlockDeviceMapping> blockDeviceMappings,
Boolean monitoringEnabled,
Set<String> securityGroupIds,
Set<String> securityGroupNames,
byte[] userData,
com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile)
|
Method Summary | |
---|---|
static LaunchSpecification.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The location where the instance launched. |
Set<? extends org.jclouds.ec2.domain.BlockDeviceMapping> |
getBlockDeviceMappings()
volumes mappings associated with the instance. |
com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> |
getIAMInstanceProfile()
The IAM Instance Profile (IIP) 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. |
String |
getSubnetId()
The ID of the subnet in which to launch the Spot Instance. |
byte[] |
getUserData()
User Data |
int |
hashCode()
|
Boolean |
isMonitoringEnabled()
CloudWatch support |
LaunchSpecification.Builder |
toBuilder()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final String instanceType
protected final String imageId
protected final String kernelId
protected final String ramdiskId
protected final String availabilityZone
protected final String subnetId
protected final String keyName
protected final Map<String,String> securityGroupIdToNames
protected final Set<? extends org.jclouds.ec2.domain.BlockDeviceMapping> blockDeviceMappings
protected final Set<String> securityGroupIds
protected final Set<String> securityGroupNames
protected final Boolean monitoringEnabled
protected final byte[] userData
protected final com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile
Constructor Detail |
---|
public LaunchSpecification(String instanceType, String imageId, String kernelId, String ramdiskId, String availabilityZone, String subnetId, String keyName, Map<String,String> securityGroupIdToNames, Iterable<? extends org.jclouds.ec2.domain.BlockDeviceMapping> blockDeviceMappings, Boolean monitoringEnabled, Set<String> securityGroupIds, Set<String> securityGroupNames, byte[] userData, com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile)
Method Detail |
---|
public static LaunchSpecification.Builder builder()
public Map<String,String> getSecurityGroupIdToNames()
public String getImageId()
public Boolean isMonitoringEnabled()
public String getInstanceType()
public String getKernelId()
public String getKeyName()
public String getAvailabilityZone()
@Nullable public String getSubnetId()
public String getRamdiskId()
public Set<? extends org.jclouds.ec2.domain.BlockDeviceMapping> getBlockDeviceMappings()
public Set<String> getSecurityGroupNames()
public Set<String> getSecurityGroupIds()
public byte[] getUserData()
public com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> getIAMInstanceProfile()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public LaunchSpecification.Builder toBuilder()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |