com.amazonaws.services.ec2.model

## クラス ImageAttribute

- java.lang.Object
- - com.amazonaws.services.ec2.model.ImageAttribute

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

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

  Represents an attribute of an Amazon Machine Image (AMI).

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<BlockDeviceMapping>` | `getBlockDeviceMappings()` Block device mappings for the associated AMI.
    `java.lang.String` | `getDescription()` User-created description of the associated AMI.
    `java.lang.String` | `getImageId()` The ID of the associated AMI.
    `java.lang.String` | `getKernelId()` Kernel ID of the associated AMI.
    `java.util.List<LaunchPermission>` | `getLaunchPermissions()` Launch permissions for the associated AMI.
    `java.util.List<ProductCode>` | `getProductCodes()` Product codes for the associated AMI.
    `java.lang.String` | `getRamdiskId()` Ramdisk ID of the associated AMI.
    `int` | `hashCode()`
    `void` | `setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)` Block device mappings for the associated AMI.
    `void` | `setDescription(java.lang.String description)` User-created description of the associated AMI.
    `void` | `setImageId(java.lang.String imageId)` The ID of the associated AMI.
    `void` | `setKernelId(java.lang.String kernelId)` Kernel ID of the associated AMI.
    `void` | `setLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)` Launch permissions for the associated AMI.
    `void` | `setProductCodes(java.util.Collection<ProductCode> productCodes)` Product codes for the associated AMI.
    `void` | `setRamdiskId(java.lang.String ramdiskId)` Ramdisk ID of the associated AMI.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ImageAttribute` | `withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)` Block device mappings for the associated AMI.
    `ImageAttribute` | `withBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)` Block device mappings for the associated AMI.
    `ImageAttribute` | `withDescription(java.lang.String description)` User-created description of the associated AMI.
    `ImageAttribute` | `withImageId(java.lang.String imageId)` The ID of the associated AMI.
    `ImageAttribute` | `withKernelId(java.lang.String kernelId)` Kernel ID of the associated AMI.
    `ImageAttribute` | `withLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)` Launch permissions for the associated AMI.
    `ImageAttribute` | `withLaunchPermissions(LaunchPermission... launchPermissions)` Launch permissions for the associated AMI.
    `ImageAttribute` | `withProductCodes(java.util.Collection<ProductCode> productCodes)` Product codes for the associated AMI.
    `ImageAttribute` | `withProductCodes(ProductCode... productCodes)` Product codes for the associated AMI.
    `ImageAttribute` | `withRamdiskId(java.lang.String ramdiskId)` Ramdisk ID of the associated AMI.

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

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

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

    - #### ImageAttribute

          public ImageAttribute()

  - ### メソッドの詳細

    - #### getImageId

          public java.lang.String getImageId()

      The ID of the associated AMI.
      戻り値:
        The ID of the associated AMI.

    - #### setImageId

          public void setImageId(java.lang.String imageId)

      The ID of the associated AMI.
      パラメータ:
        `imageId` - The ID of the associated AMI.

    - #### withImageId

          public ImageAttribute withImageId(java.lang.String imageId)

      The ID of the associated AMI.

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

      パラメータ:
        `imageId` - The ID of the associated AMI.

    - #### getLaunchPermissions

          public java.util.List<LaunchPermission> getLaunchPermissions()

      Launch permissions for the associated AMI.
      戻り値:
        Launch permissions for the associated AMI.

    - #### setLaunchPermissions

          public void setLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)

      Launch permissions for the associated AMI.
      パラメータ:
        `launchPermissions` - Launch permissions for the associated AMI.

    - #### withLaunchPermissions

          public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions)

      Launch permissions for the associated AMI.

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

      パラメータ:
        `launchPermissions` - Launch permissions for the associated AMI.

    - #### withLaunchPermissions

          public ImageAttribute withLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)

      Launch permissions for the associated AMI.

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

      パラメータ:
        `launchPermissions` - Launch permissions for the associated AMI.

    - #### getProductCodes

          public java.util.List<ProductCode> getProductCodes()

      Product codes for the associated AMI.
      戻り値:
        Product codes for the associated AMI.

    - #### setProductCodes

          public void setProductCodes(java.util.Collection<ProductCode> productCodes)

      Product codes for the associated AMI.
      パラメータ:
        `productCodes` - Product codes for the associated AMI.

    - #### withProductCodes

          public ImageAttribute withProductCodes(ProductCode... productCodes)

      Product codes for the associated AMI.

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

      パラメータ:
        `productCodes` - Product codes for the associated AMI.

    - #### withProductCodes

          public ImageAttribute withProductCodes(java.util.Collection<ProductCode> productCodes)

      Product codes for the associated AMI.

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

      パラメータ:
        `productCodes` - Product codes for the associated AMI.

    - #### getKernelId

          public java.lang.String getKernelId()

      Kernel ID of the associated AMI.
      戻り値:
        Kernel ID of the associated AMI.

    - #### setKernelId

          public void setKernelId(java.lang.String kernelId)

      Kernel ID of the associated AMI.
      パラメータ:
        `kernelId` - Kernel ID of the associated AMI.

    - #### withKernelId

          public ImageAttribute withKernelId(java.lang.String kernelId)

      Kernel ID of the associated AMI.

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

      パラメータ:
        `kernelId` - Kernel ID of the associated AMI.

    - #### getRamdiskId

          public java.lang.String getRamdiskId()

      Ramdisk ID of the associated AMI.
      戻り値:
        Ramdisk ID of the associated AMI.

    - #### setRamdiskId

          public void setRamdiskId(java.lang.String ramdiskId)

      Ramdisk ID of the associated AMI.
      パラメータ:
        `ramdiskId` - Ramdisk ID of the associated AMI.

    - #### withRamdiskId

          public ImageAttribute withRamdiskId(java.lang.String ramdiskId)

      Ramdisk ID of the associated AMI.

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

      パラメータ:
        `ramdiskId` - Ramdisk ID of the associated AMI.

    - #### getDescription

          public java.lang.String getDescription()

      User-created description of the associated AMI.
      戻り値:
        User-created description of the associated AMI.

    - #### setDescription

          public void setDescription(java.lang.String description)

      User-created description of the associated AMI.
      パラメータ:
        `description` - User-created description of the associated AMI.

    - #### withDescription

          public ImageAttribute withDescription(java.lang.String description)

      User-created description of the associated AMI.

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

      パラメータ:
        `description` - User-created description of the associated AMI.

    - #### getBlockDeviceMappings

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

      Block device mappings for the associated AMI.
      戻り値:
        Block device mappings for the associated AMI.

    - #### setBlockDeviceMappings

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

      Block device mappings for the associated AMI.
      パラメータ:
        `blockDeviceMappings` - Block device mappings for the associated AMI.

    - #### withBlockDeviceMappings

          public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)

      Block device mappings for the associated AMI.

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

      パラメータ:
        `blockDeviceMappings` - Block device mappings for the associated AMI.

    - #### withBlockDeviceMappings

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

      Block device mappings for the associated AMI.

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

      パラメータ:
        `blockDeviceMappings` - Block device mappings for the associated AMI.

    - #### 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`