com.amazonaws.services.autoscaling.model

## クラス LaunchConfiguration

- java.lang.Object
- - com.amazonaws.services.autoscaling.model.LaunchConfiguration

- すべての実装されたインタフェース:
    java.io.Serializable

      public class LaunchConfiguration
      extends java.lang.Object
      implements java.io.Serializable

  The `LaunchConfiguration` data type.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `LaunchConfiguration()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<BlockDeviceMapping>` | `getBlockDeviceMappings()` Specifies how block devices are exposed to the instance.
    `java.util.Date` | `getCreatedTime()` Provides the creation date and time for this launch configuration.
    `java.lang.Boolean` | `getEbsOptimized()` Returns the value of the EbsOptimized property for this object.
    `java.lang.String` | `getIamInstanceProfile()` Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
    `java.lang.String` | `getImageId()` Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.
    `InstanceMonitoring` | `getInstanceMonitoring()` Controls whether instances in this group are launched with detailed monitoring or not.
    `java.lang.String` | `getInstanceType()` Specifies the instance type of the Amazon EC2 instance.
    `java.lang.String` | `getKernelId()` Provides the ID of the kernel associated with the Amazon EC2 AMI.
    `java.lang.String` | `getKeyName()` Provides the name of the Amazon EC2 key pair.
    `java.lang.String` | `getLaunchConfigurationARN()` The launch configuration's Amazon Resource Name (ARN).
    `java.lang.String` | `getLaunchConfigurationName()` Specifies the name of the launch configuration.
    `java.lang.String` | `getRamdiskId()` Provides ID of the RAM disk associated with the Amazon EC2 AMI.
    `java.util.List<java.lang.String>` | `getSecurityGroups()` A description of the security groups to associate with the Amazon EC2 instances.
    `java.lang.String` | `getSpotPrice()` Specifies the price to bid when launching Spot Instances.
    `java.lang.String` | `getUserData()` The user data available to the launched Amazon EC2 instances.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isEbsOptimized()` Returns the value of the EbsOptimized property for this object.
    `void` | `setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)` Specifies how block devices are exposed to the instance.
    `void` | `setCreatedTime(java.util.Date createdTime)` Provides the creation date and time for this launch configuration.
    `void` | `setEbsOptimized(java.lang.Boolean ebsOptimized)` Sets the value of the EbsOptimized property for this object.
    `void` | `setIamInstanceProfile(java.lang.String iamInstanceProfile)` Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
    `void` | `setImageId(java.lang.String imageId)` Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.
    `void` | `setInstanceMonitoring(InstanceMonitoring instanceMonitoring)` Controls whether instances in this group are launched with detailed monitoring or not.
    `void` | `setInstanceType(java.lang.String instanceType)` Specifies the instance type of the Amazon EC2 instance.
    `void` | `setKernelId(java.lang.String kernelId)` Provides the ID of the kernel associated with the Amazon EC2 AMI.
    `void` | `setKeyName(java.lang.String keyName)` Provides the name of the Amazon EC2 key pair.
    `void` | `setLaunchConfigurationARN(java.lang.String launchConfigurationARN)` The launch configuration's Amazon Resource Name (ARN).
    `void` | `setLaunchConfigurationName(java.lang.String launchConfigurationName)` Specifies the name of the launch configuration.
    `void` | `setRamdiskId(java.lang.String ramdiskId)` Provides ID of the RAM disk associated with the Amazon EC2 AMI.
    `void` | `setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)` A description of the security groups to associate with the Amazon EC2 instances.
    `void` | `setSpotPrice(java.lang.String spotPrice)` Specifies the price to bid when launching Spot Instances.
    `void` | `setUserData(java.lang.String userData)` The user data available to the launched Amazon EC2 instances.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `LaunchConfiguration` | `withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)` Specifies how block devices are exposed to the instance.
    `LaunchConfiguration` | `withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)` Specifies how block devices are exposed to the instance.
    `LaunchConfiguration` | `withCreatedTime(java.util.Date createdTime)` Provides the creation date and time for this launch configuration.
    `LaunchConfiguration` | `withEbsOptimized(java.lang.Boolean ebsOptimized)` Sets the value of the EbsOptimized property for this object.
    `LaunchConfiguration` | `withIamInstanceProfile(java.lang.String iamInstanceProfile)` Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
    `LaunchConfiguration` | `withImageId(java.lang.String imageId)` Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.
    `LaunchConfiguration` | `withInstanceMonitoring(InstanceMonitoring instanceMonitoring)` Controls whether instances in this group are launched with detailed monitoring or not.
    `LaunchConfiguration` | `withInstanceType(java.lang.String instanceType)` Specifies the instance type of the Amazon EC2 instance.
    `LaunchConfiguration` | `withKernelId(java.lang.String kernelId)` Provides the ID of the kernel associated with the Amazon EC2 AMI.
    `LaunchConfiguration` | `withKeyName(java.lang.String keyName)` Provides the name of the Amazon EC2 key pair.
    `LaunchConfiguration` | `withLaunchConfigurationARN(java.lang.String launchConfigurationARN)` The launch configuration's Amazon Resource Name (ARN).
    `LaunchConfiguration` | `withLaunchConfigurationName(java.lang.String launchConfigurationName)` Specifies the name of the launch configuration.
    `LaunchConfiguration` | `withRamdiskId(java.lang.String ramdiskId)` Provides ID of the RAM disk associated with the Amazon EC2 AMI.
    `LaunchConfiguration` | `withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)` A description of the security groups to associate with the Amazon EC2 instances.
    `LaunchConfiguration` | `withSecurityGroups(java.lang.String... securityGroups)` A description of the security groups to associate with the Amazon EC2 instances.
    `LaunchConfiguration` | `withSpotPrice(java.lang.String spotPrice)` Specifies the price to bid when launching Spot Instances.
    `LaunchConfiguration` | `withUserData(java.lang.String userData)` The user data available to the launched Amazon EC2 instances.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### LaunchConfiguration

          public LaunchConfiguration()

  - ### メソッドの詳細

    - #### getLaunchConfigurationName

          public java.lang.String getLaunchConfigurationName()

      Specifies the name of the launch configuration.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Specifies the name of the launch configuration.

    - #### setLaunchConfigurationName

          public void setLaunchConfigurationName(java.lang.String launchConfigurationName)

      Specifies the name of the launch configuration.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - Specifies the name of the launch configuration.

    - #### withLaunchConfigurationName

          public LaunchConfiguration withLaunchConfigurationName(java.lang.String launchConfigurationName)

      Specifies the name of the launch configuration.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationName` - Specifies the name of the launch configuration.

    - #### getLaunchConfigurationARN

          public java.lang.String getLaunchConfigurationARN()

      The launch configuration's Amazon Resource Name (ARN).

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The launch configuration's Amazon Resource Name (ARN).

    - #### setLaunchConfigurationARN

          public void setLaunchConfigurationARN(java.lang.String launchConfigurationARN)

      The launch configuration's Amazon Resource Name (ARN).

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationARN` - The launch configuration's Amazon Resource Name (ARN).

    - #### withLaunchConfigurationARN

          public LaunchConfiguration withLaunchConfigurationARN(java.lang.String launchConfigurationARN)

      The launch configuration's Amazon Resource Name (ARN).

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `launchConfigurationARN` - The launch configuration's Amazon Resource Name (ARN).

    - #### getImageId

          public java.lang.String getImageId()

      Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

    - #### setImageId

          public void setImageId(java.lang.String imageId)

      Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `imageId` - Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

    - #### withImageId

          public LaunchConfiguration withImageId(java.lang.String imageId)

      Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `imageId` - Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration.

    - #### getKeyName

          public java.lang.String getKeyName()

      Provides the name of the Amazon EC2 key pair.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Provides the name of the Amazon EC2 key pair.

    - #### setKeyName

          public void setKeyName(java.lang.String keyName)

      Provides the name of the Amazon EC2 key pair.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `keyName` - Provides the name of the Amazon EC2 key pair.

    - #### withKeyName

          public LaunchConfiguration withKeyName(java.lang.String keyName)

      Provides the name of the Amazon EC2 key pair.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `keyName` - Provides the name of the Amazon EC2 key pair.

    - #### getSecurityGroups

          public java.util.List<java.lang.String> getSecurityGroups()

      A description of the security groups to associate with the Amazon EC2 instances.
      戻り値:
        A description of the security groups to associate with the Amazon EC2 instances.

    - #### setSecurityGroups

          public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)

      A description of the security groups to associate with the Amazon EC2 instances.
      パラメータ:
        `securityGroups` - A description of the security groups to associate with the Amazon EC2 instances.

    - #### withSecurityGroups

          public LaunchConfiguration withSecurityGroups(java.lang.String... securityGroups)

      A description of the security groups to associate with the Amazon EC2 instances.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `securityGroups` - A description of the security groups to associate with the Amazon EC2 instances.

    - #### withSecurityGroups

          public LaunchConfiguration withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)

      A description of the security groups to associate with the Amazon EC2 instances.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `securityGroups` - A description of the security groups to associate with the Amazon EC2 instances.

    - #### getUserData

          public java.lang.String getUserData()

      The user data available to the launched Amazon EC2 instances.

      Constraints:
      Length: 0 - 21847
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        The user data available to the launched Amazon EC2 instances.

    - #### setUserData

          public void setUserData(java.lang.String userData)

      The user data available to the launched Amazon EC2 instances.

      Constraints:
      Length: 0 - 21847
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `userData` - The user data available to the launched Amazon EC2 instances.

    - #### withUserData

          public LaunchConfiguration withUserData(java.lang.String userData)

      The user data available to the launched Amazon EC2 instances.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 0 - 21847
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `userData` - The user data available to the launched Amazon EC2 instances.

    - #### getInstanceType

          public java.lang.String getInstanceType()

      Specifies the instance type of the Amazon EC2 instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Specifies the instance type of the Amazon EC2 instance.

    - #### setInstanceType

          public void setInstanceType(java.lang.String instanceType)

      Specifies the instance type of the Amazon EC2 instance.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `instanceType` - Specifies the instance type of the Amazon EC2 instance.

    - #### withInstanceType

          public LaunchConfiguration withInstanceType(java.lang.String instanceType)

      Specifies the instance type of the Amazon EC2 instance.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `instanceType` - Specifies the instance type of the Amazon EC2 instance.

    - #### getKernelId

          public java.lang.String getKernelId()

      Provides the ID of the kernel associated with the Amazon EC2 AMI.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Provides the ID of the kernel associated with the Amazon EC2 AMI.

    - #### setKernelId

          public void setKernelId(java.lang.String kernelId)

      Provides the ID of the kernel associated with the Amazon EC2 AMI.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `kernelId` - Provides the ID of the kernel associated with the Amazon EC2 AMI.

    - #### withKernelId

          public LaunchConfiguration withKernelId(java.lang.String kernelId)

      Provides the ID of the kernel associated with the Amazon EC2 AMI.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `kernelId` - Provides the ID of the kernel associated with the Amazon EC2 AMI.

    - #### getRamdiskId

          public java.lang.String getRamdiskId()

      Provides ID of the RAM disk associated with the Amazon EC2 AMI.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Provides ID of the RAM disk associated with the Amazon EC2 AMI.

    - #### setRamdiskId

          public void setRamdiskId(java.lang.String ramdiskId)

      Provides ID of the RAM disk associated with the Amazon EC2 AMI.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `ramdiskId` - Provides ID of the RAM disk associated with the Amazon EC2 AMI.

    - #### withRamdiskId

          public LaunchConfiguration withRamdiskId(java.lang.String ramdiskId)

      Provides ID of the RAM disk associated with the Amazon EC2 AMI.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `ramdiskId` - Provides ID of the RAM disk associated with the Amazon EC2 AMI.

    - #### getBlockDeviceMappings

          public java.util.List<BlockDeviceMapping> getBlockDeviceMappings()

      Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.
      戻り値:
        Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

    - #### setBlockDeviceMappings

          public void setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)

      Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.
      パラメータ:
        `blockDeviceMappings` - Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

    - #### withBlockDeviceMappings

          public LaunchConfiguration withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)

      Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `blockDeviceMappings` - Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

    - #### withBlockDeviceMappings

          public LaunchConfiguration withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)

      Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `blockDeviceMappings` - Specifies how block devices are exposed to the instance. Each mapping is made up of a virtualName and a deviceName.

    - #### getInstanceMonitoring

          public InstanceMonitoring getInstanceMonitoring()

      Controls whether instances in this group are launched with detailed monitoring or not.
      戻り値:
        Controls whether instances in this group are launched with detailed monitoring or not.

    - #### setInstanceMonitoring

          public void setInstanceMonitoring(InstanceMonitoring instanceMonitoring)

      Controls whether instances in this group are launched with detailed monitoring or not.
      パラメータ:
        `instanceMonitoring` - Controls whether instances in this group are launched with detailed monitoring or not.

    - #### withInstanceMonitoring

          public LaunchConfiguration withInstanceMonitoring(InstanceMonitoring instanceMonitoring)

      Controls whether instances in this group are launched with detailed monitoring or not.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `instanceMonitoring` - Controls whether instances in this group are launched with detailed monitoring or not.

    - #### getSpotPrice

          public java.lang.String getSpotPrice()

      Specifies the price to bid when launching Spot Instances.

      Constraints:
      Length: 1 - 255

      戻り値:
        Specifies the price to bid when launching Spot Instances.

    - #### setSpotPrice

          public void setSpotPrice(java.lang.String spotPrice)

      Specifies the price to bid when launching Spot Instances.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `spotPrice` - Specifies the price to bid when launching Spot Instances.

    - #### withSpotPrice

          public LaunchConfiguration withSpotPrice(java.lang.String spotPrice)

      Specifies the price to bid when launching Spot Instances.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `spotPrice` - Specifies the price to bid when launching Spot Instances.

    - #### getIamInstanceProfile

          public java.lang.String getIamInstanceProfile()

      Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      戻り値:
        Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

    - #### setIamInstanceProfile

          public void setIamInstanceProfile(java.lang.String iamInstanceProfile)

      Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `iamInstanceProfile` - Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

    - #### withIamInstanceProfile

          public LaunchConfiguration withIamInstanceProfile(java.lang.String iamInstanceProfile)

      Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 1600
      Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

      パラメータ:
        `iamInstanceProfile` - Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.

    - #### getCreatedTime

          public java.util.Date getCreatedTime()

      Provides the creation date and time for this launch configuration.
      戻り値:
        Provides the creation date and time for this launch configuration.

    - #### setCreatedTime

          public void setCreatedTime(java.util.Date createdTime)

      Provides the creation date and time for this launch configuration.
      パラメータ:
        `createdTime` - Provides the creation date and time for this launch configuration.

    - #### withCreatedTime

          public LaunchConfiguration withCreatedTime(java.util.Date createdTime)

      Provides the creation date and time for this launch configuration.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `createdTime` - Provides the creation date and time for this launch configuration.

    - #### isEbsOptimized

          public java.lang.Boolean isEbsOptimized()

      Returns the value of the EbsOptimized property for this object.
      戻り値:
        The value of the EbsOptimized property for this object.

    - #### setEbsOptimized

          public void setEbsOptimized(java.lang.Boolean ebsOptimized)

      Sets the value of the EbsOptimized property for this object.
      パラメータ:
        `ebsOptimized` - The new value for the EbsOptimized property for this object.

    - #### withEbsOptimized

          public LaunchConfiguration withEbsOptimized(java.lang.Boolean ebsOptimized)

      Sets the value of the EbsOptimized property for this object.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `ebsOptimized` - The new value for the EbsOptimized property for this object.

    - #### getEbsOptimized

          public java.lang.Boolean getEbsOptimized()

      Returns the value of the EbsOptimized property for this object.
      戻り値:
        The value of the EbsOptimized property for this object.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`