Package org.jclouds.aws.ec2.domain
Class LaunchSpecification
java.lang.Object
org.jclouds.aws.ec2.domain.LaunchSpecification
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
protected final Set
<? extends BlockDeviceMapping> protected final com.google.common.base.Optional
<LaunchSpecification.IAMInstanceProfileRequest> protected final String
protected final String
protected final String
protected final String
protected final Boolean
protected final String
protected final String
protected final byte[]
-
Constructor Summary
ConstructorsConstructorDescriptionLaunchSpecification
(String instanceType, String imageId, String kernelId, String ramdiskId, String availabilityZone, String subnetId, String keyName, Map<String, String> securityGroupIdToNames, Iterable<? extends BlockDeviceMapping> blockDeviceMappings, Boolean monitoringEnabled, Set<String> securityGroupIds, Set<String> securityGroupNames, byte[] userData, com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile) -
Method Summary
Modifier and TypeMethodDescriptionstatic LaunchSpecification.Builder
builder()
boolean
The location where the instance launched.Set
<? extends BlockDeviceMapping> volumes mappings associated with the instance.com.google.common.base.Optional
<LaunchSpecification.IAMInstanceProfileRequest> The IAM Instance Profile (IIP) associated with the instance.Image ID of the AMI used to launch the instance.The instance type.Optional.If this instance was launched with an associated key pair, this displays the key pair name.Optional.Ids of the security groups.Names of the security groups.The ID of the subnet in which to launch the Spot Instance.byte[]
User Dataint
hashCode()
CloudWatch supporttoString()
-
Field Details
-
instanceType
-
imageId
-
kernelId
-
ramdiskId
-
availabilityZone
-
subnetId
-
keyName
-
securityGroupIdToNames
-
blockDeviceMappings
-
securityGroupIds
-
securityGroupNames
-
monitoringEnabled
-
userData
protected final byte[] userData -
iamInstanceProfile
protected final com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile
-
-
Constructor Details
-
LaunchSpecification
public LaunchSpecification(String instanceType, String imageId, String kernelId, String ramdiskId, String availabilityZone, String subnetId, String keyName, Map<String, String> securityGroupIdToNames, Iterable<? extends BlockDeviceMapping> blockDeviceMappings, Boolean monitoringEnabled, Set<String> securityGroupIds, Set<String> securityGroupNames, byte[] userData, com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile)
-
-
Method Details
-
builder
-
getSecurityGroupIdToNames
-
getImageId
Image ID of the AMI used to launch the instance. -
isMonitoringEnabled
CloudWatch support -
getInstanceType
The instance type. -
getKernelId
Optional. Kernel associated with this instance. -
getKeyName
If this instance was launched with an associated key pair, this displays the key pair name. -
getAvailabilityZone
The location where the instance launched. -
getSubnetId
The ID of the subnet in which to launch the Spot Instance. -
getRamdiskId
Optional. RAM disk associated with this instance. -
getBlockDeviceMappings
volumes mappings associated with the instance. -
getSecurityGroupNames
Names of the security groups. -
getSecurityGroupIds
Ids of the security groups. -
getUserData
public byte[] getUserData()User Data -
getIAMInstanceProfile
public com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> getIAMInstanceProfile()The IAM Instance Profile (IIP) associated with the instance. -
hashCode
public int hashCode() -
equals
-
toBuilder
-
toString
-