Class LaunchSpecification


  • public class LaunchSpecification
    extends Object
    See Also:
    • Field Detail

      • instanceType

        protected final String instanceType
      • imageId

        protected final String imageId
      • kernelId

        protected final String kernelId
      • ramdiskId

        protected final String ramdiskId
      • availabilityZone

        protected final String availabilityZone
      • subnetId

        protected final String subnetId
      • keyName

        protected final String keyName
      • securityGroupIdToNames

        protected final Map<String,​String> securityGroupIdToNames
      • securityGroupIds

        protected final Set<String> securityGroupIds
      • securityGroupNames

        protected final Set<String> securityGroupNames
      • monitoringEnabled

        protected final Boolean monitoringEnabled
      • userData

        protected final byte[] userData
    • Method Detail

      • getSecurityGroupIdToNames

        public Map<String,​String> getSecurityGroupIdToNames()
      • getImageId

        public String getImageId()
        Image ID of the AMI used to launch the instance.
      • isMonitoringEnabled

        public Boolean isMonitoringEnabled()
        CloudWatch support
      • getInstanceType

        public String getInstanceType()
        The instance type.
      • getKernelId

        public String getKernelId()
        Optional. Kernel associated with this instance.
      • getKeyName

        public String getKeyName()
        If this instance was launched with an associated key pair, this displays the key pair name.
      • getAvailabilityZone

        public String getAvailabilityZone()
        The location where the instance launched.
      • getSubnetId

        @Nullable
        public String getSubnetId()
        The ID of the subnet in which to launch the Spot Instance.
      • getRamdiskId

        public String getRamdiskId()
        Optional. RAM disk associated with this instance.
      • getBlockDeviceMappings

        public Set<? extends BlockDeviceMapping> getBlockDeviceMappings()
        volumes mappings associated with the instance.
      • getSecurityGroupNames

        public Set<String> getSecurityGroupNames()
        Names of the security groups.
      • getSecurityGroupIds

        public Set<String> getSecurityGroupIds()
        Ids of the security groups.
      • getUserData

        public byte[] getUserData()
        User Data
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object