com.amazonaws.services.ec2.model

## クラス DescribeSnapshotAttributeRequest

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

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

      public class DescribeSnapshotAttributeRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeSnapshotAttribute operation`.

  Returns information about an attribute of a snapshot. Only one attribute can be specified per call.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAttribute()` The name of the EBS attribute to describe.
    `java.lang.String` | `getSnapshotId()` The ID of the EBS snapshot whose attribute is being described.
    `int` | `hashCode()`
    `void` | `setAttribute(SnapshotAttributeName attribute)` The name of the EBS attribute to describe.
    `void` | `setAttribute(java.lang.String attribute)` The name of the EBS attribute to describe.
    `void` | `setSnapshotId(java.lang.String snapshotId)` The ID of the EBS snapshot whose attribute is being described.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeSnapshotAttributeRequest` | `withAttribute(SnapshotAttributeName attribute)` The name of the EBS attribute to describe.
    `DescribeSnapshotAttributeRequest` | `withAttribute(java.lang.String attribute)` The name of the EBS attribute to describe.
    `DescribeSnapshotAttributeRequest` | `withSnapshotId(java.lang.String snapshotId)` The ID of the EBS snapshot whose attribute is being described.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeSnapshotAttributeRequest

          public DescribeSnapshotAttributeRequest()

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

    - #### DescribeSnapshotAttributeRequest

          public DescribeSnapshotAttributeRequest(java.lang.String snapshotId,
                                          java.lang.String attribute)

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

        Available attribute names: createVolumePermission

    - #### DescribeSnapshotAttributeRequest

          public DescribeSnapshotAttributeRequest(java.lang.String snapshotId,
                                          SnapshotAttributeName attribute)

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

        Available attribute names: createVolumePermission

  - ### メソッドの詳細

    - #### getSnapshotId

          public java.lang.String getSnapshotId()

      The ID of the EBS snapshot whose attribute is being described.
      戻り値:
        The ID of the EBS snapshot whose attribute is being described.

    - #### setSnapshotId

          public void setSnapshotId(java.lang.String snapshotId)

      The ID of the EBS snapshot whose attribute is being described.
      パラメータ:
        `snapshotId` - The ID of the EBS snapshot whose attribute is being described.

    - #### withSnapshotId

          public DescribeSnapshotAttributeRequest withSnapshotId(java.lang.String snapshotId)

      The ID of the EBS snapshot whose attribute is being described.

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

      パラメータ:
        `snapshotId` - The ID of the EBS snapshot whose attribute is being described.

    - #### getAttribute

          public java.lang.String getAttribute()

      The name of the EBS attribute to describe.

      Available attribute names: createVolumePermission

      Constraints:
      Allowed Values: productCodes, createVolumePermission

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

        Available attribute names: createVolumePermission

      関連項目:
        `SnapshotAttributeName`

    - #### setAttribute

          public void setAttribute(java.lang.String attribute)

      The name of the EBS attribute to describe.

      Available attribute names: createVolumePermission

      Constraints:
      Allowed Values: productCodes, createVolumePermission

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

        Available attribute names: createVolumePermission

      関連項目:
        `SnapshotAttributeName`

    - #### withAttribute

          public DescribeSnapshotAttributeRequest withAttribute(java.lang.String attribute)

      The name of the EBS attribute to describe.

      Available attribute names: createVolumePermission

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

      Constraints:
      Allowed Values: productCodes, createVolumePermission

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

        Available attribute names: createVolumePermission

      関連項目:
        `SnapshotAttributeName`

    - #### setAttribute

          public void setAttribute(SnapshotAttributeName attribute)

      The name of the EBS attribute to describe.

      Available attribute names: createVolumePermission

      Constraints:
      Allowed Values: productCodes, createVolumePermission

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

        Available attribute names: createVolumePermission

      関連項目:
        `SnapshotAttributeName`

    - #### withAttribute

          public DescribeSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute)

      The name of the EBS attribute to describe.

      Available attribute names: createVolumePermission

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

      Constraints:
      Allowed Values: productCodes, createVolumePermission

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

        Available attribute names: createVolumePermission

      関連項目:
        `SnapshotAttributeName`

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