com.amazonaws.services.ec2.model

## クラス DescribeSnapshotAttributeResult

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

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

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

  The result of describing an EBS snapshot attribute.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<CreateVolumePermission>` | `getCreateVolumePermissions()` The list of permissions describing who can create a volume from the associated EBS snapshot.
    `java.util.List<ProductCode>` | `getProductCodes()` Returns the value of the ProductCodes property for this object.
    `java.lang.String` | `getSnapshotId()` The ID of the snapshot whose attribute is being described.
    `int` | `hashCode()`
    `void` | `setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)` The list of permissions describing who can create a volume from the associated EBS snapshot.
    `void` | `setProductCodes(java.util.Collection<ProductCode> productCodes)` Sets the value of the ProductCodes property for this object.
    `void` | `setSnapshotId(java.lang.String snapshotId)` The ID of the snapshot whose attribute is being described.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeSnapshotAttributeResult` | `withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)` The list of permissions describing who can create a volume from the associated EBS snapshot.
    `DescribeSnapshotAttributeResult` | `withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)` The list of permissions describing who can create a volume from the associated EBS snapshot.
    `DescribeSnapshotAttributeResult` | `withProductCodes(java.util.Collection<ProductCode> productCodes)` Sets the value of the ProductCodes property for this object.
    `DescribeSnapshotAttributeResult` | `withProductCodes(ProductCode... productCodes)` Sets the value of the ProductCodes property for this object.
    `DescribeSnapshotAttributeResult` | `withSnapshotId(java.lang.String snapshotId)` The ID of the snapshot whose attribute is being described.

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

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

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

    - #### DescribeSnapshotAttributeResult

          public DescribeSnapshotAttributeResult()

  - ### メソッドの詳細

    - #### getSnapshotId

          public java.lang.String getSnapshotId()

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

    - #### setSnapshotId

          public void setSnapshotId(java.lang.String snapshotId)

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

    - #### withSnapshotId

          public DescribeSnapshotAttributeResult withSnapshotId(java.lang.String snapshotId)

      The ID of the 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 snapshot whose attribute is being described.

    - #### getCreateVolumePermissions

          public java.util.List<CreateVolumePermission> getCreateVolumePermissions()

      The list of permissions describing who can create a volume from the associated EBS snapshot.

      Only available if the createVolumePermission attribute is requested.

      戻り値:
        The list of permissions describing who can create a volume from the associated EBS snapshot.

        Only available if the createVolumePermission attribute is requested.

    - #### setCreateVolumePermissions

          public void setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)

      The list of permissions describing who can create a volume from the associated EBS snapshot.

      Only available if the createVolumePermission attribute is requested.

      パラメータ:
        `createVolumePermissions` - The list of permissions describing who can create a volume from the associated EBS snapshot.

        Only available if the createVolumePermission attribute is requested.

    - #### withCreateVolumePermissions

          public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)

      The list of permissions describing who can create a volume from the associated EBS snapshot.

      Only available if the createVolumePermission attribute is requested.

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

      パラメータ:
        `createVolumePermissions` - The list of permissions describing who can create a volume from the associated EBS snapshot.

        Only available if the createVolumePermission attribute is requested.

    - #### withCreateVolumePermissions

          public DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)

      The list of permissions describing who can create a volume from the associated EBS snapshot.

      Only available if the createVolumePermission attribute is requested.

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

      パラメータ:
        `createVolumePermissions` - The list of permissions describing who can create a volume from the associated EBS snapshot.

        Only available if the createVolumePermission attribute is requested.

    - #### getProductCodes

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

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

    - #### setProductCodes

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

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

    - #### withProductCodes

          public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes)

      Sets the value of the ProductCodes property for this object.

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

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

    - #### withProductCodes

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

      Sets the value of the ProductCodes property for this object.

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

      パラメータ:
        `productCodes` - The new value for the ProductCodes 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`