com.amazonaws.services.ec2.model

## クラス CreateVolumePermission

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

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

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

  Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getGroup()` The group that is allowed to create volumes from the snapshot (currently supports "all").
    `java.lang.String` | `getUserId()` The user ID of the user that can create volumes from the snapshot.
    `int` | `hashCode()`
    `void` | `setGroup(java.lang.String group)` The group that is allowed to create volumes from the snapshot (currently supports "all").
    `void` | `setUserId(java.lang.String userId)` The user ID of the user that can create volumes from the snapshot.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateVolumePermission` | `withGroup(java.lang.String group)` The group that is allowed to create volumes from the snapshot (currently supports "all").
    `CreateVolumePermission` | `withUserId(java.lang.String userId)` The user ID of the user that can create volumes from the snapshot.

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

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

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

    - #### CreateVolumePermission

          public CreateVolumePermission()

  - ### メソッドの詳細

    - #### getUserId

          public java.lang.String getUserId()

      The user ID of the user that can create volumes from the snapshot.
      戻り値:
        The user ID of the user that can create volumes from the snapshot.

    - #### setUserId

          public void setUserId(java.lang.String userId)

      The user ID of the user that can create volumes from the snapshot.
      パラメータ:
        `userId` - The user ID of the user that can create volumes from the snapshot.

    - #### withUserId

          public CreateVolumePermission withUserId(java.lang.String userId)

      The user ID of the user that can create volumes from the snapshot.

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

      パラメータ:
        `userId` - The user ID of the user that can create volumes from the snapshot.

    - #### getGroup

          public java.lang.String getGroup()

      The group that is allowed to create volumes from the snapshot (currently supports "all").
      戻り値:
        The group that is allowed to create volumes from the snapshot (currently supports "all").

    - #### setGroup

          public void setGroup(java.lang.String group)

      The group that is allowed to create volumes from the snapshot (currently supports "all").
      パラメータ:
        `group` - The group that is allowed to create volumes from the snapshot (currently supports "all").

    - #### withGroup

          public CreateVolumePermission withGroup(java.lang.String group)

      The group that is allowed to create volumes from the snapshot (currently supports "all").

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

      パラメータ:
        `group` - The group that is allowed to create volumes from the snapshot (currently supports "all").

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