Class LaunchSpecification

java.lang.Object
org.jclouds.aws.ec2.domain.LaunchSpecification

public class LaunchSpecification extends Object
See Also:
  • Field Details

    • 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
    • blockDeviceMappings

      protected final Set<? extends BlockDeviceMapping> blockDeviceMappings
    • securityGroupIds

      protected final Set<String> securityGroupIds
    • securityGroupNames

      protected final Set<String> securityGroupNames
    • monitoringEnabled

      protected final Boolean monitoringEnabled
    • userData

      protected final byte[] userData
    • iamInstanceProfile

      protected final com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> iamInstanceProfile
  • Constructor Details

  • Method Details

    • builder

      public static LaunchSpecification.Builder builder()
    • 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
    • getIAMInstanceProfile

      public com.google.common.base.Optional<LaunchSpecification.IAMInstanceProfileRequest> getIAMInstanceProfile()
      The IAM Instance Profile (IIP) associated with the instance.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toBuilder

      public LaunchSpecification.Builder toBuilder()
    • toString

      public String toString()
      Overrides:
      toString in class Object