com.amazonaws.services.ec2.model

## クラス DescribeImageAttributeRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.DescribeImageAttributeRequest

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

      public class DescribeImageAttributeRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeImageAttribute operation`.

  The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.

  関連項目:
    `AmazonEC2.describeImageAttribute(DescribeImageAttributeRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `DescribeImageAttributeRequest()` Default constructor for a new DescribeImageAttributeRequest object.
    `DescribeImageAttributeRequest(java.lang.String imageId, java.lang.String attribute)` Constructs a new DescribeImageAttributeRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAttribute()` The name of the attribute to describe.
    `java.lang.String` | `getImageId()` The ID of the AMI whose attribute is to be described.
    `int` | `hashCode()`
    `void` | `setAttribute(java.lang.String attribute)` The name of the attribute to describe.
    `void` | `setImageId(java.lang.String imageId)` The ID of the AMI whose attribute is to be described.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeImageAttributeRequest` | `withAttribute(java.lang.String attribute)` The name of the attribute to describe.
    `DescribeImageAttributeRequest` | `withImageId(java.lang.String imageId)` The ID of the AMI whose attribute is to be described.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeImageAttributeRequest

          public DescribeImageAttributeRequest()

      Default constructor for a new DescribeImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### DescribeImageAttributeRequest

          public DescribeImageAttributeRequest(java.lang.String imageId,
                                       java.lang.String attribute)

      Constructs a new DescribeImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `imageId` - The ID of the AMI whose attribute is to be described.
        `attribute` - The name of the attribute to describe.

        Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

  - ### メソッドの詳細

    - #### getImageId

          public java.lang.String getImageId()

      The ID of the AMI whose attribute is to be described.
      戻り値:
        The ID of the AMI whose attribute is to be described.

    - #### setImageId

          public void setImageId(java.lang.String imageId)

      The ID of the AMI whose attribute is to be described.
      パラメータ:
        `imageId` - The ID of the AMI whose attribute is to be described.

    - #### withImageId

          public DescribeImageAttributeRequest withImageId(java.lang.String imageId)

      The ID of the AMI whose attribute is to be described.

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

      パラメータ:
        `imageId` - The ID of the AMI whose attribute is to be described.

    - #### getAttribute

          public java.lang.String getAttribute()

      The name of the attribute to describe.

      Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

      戻り値:
        The name of the attribute to describe.

        Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

    - #### setAttribute

          public void setAttribute(java.lang.String attribute)

      The name of the attribute to describe.

      Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

      パラメータ:
        `attribute` - The name of the attribute to describe.

        Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

    - #### withAttribute

          public DescribeImageAttributeRequest withAttribute(java.lang.String attribute)

      The name of the attribute to describe.

      Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

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

      パラメータ:
        `attribute` - The name of the attribute to describe.

        Available attribute names: `productCodes`, `kernel`, `ramdisk`, `launchPermisson`, `blockDeviceMapping`

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