com.amazonaws.services.s3.model

## クラス Grant

- java.lang.Object
- - com.amazonaws.services.s3.model.Grant

-     public class Grant
      extends java.lang.Object

  Specifies a grant, consisting of one grantee and one permission.
  関連項目:
    `Grant(Grantee, Permission)`

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

    コンストラクタ
    コンストラクタと説明
    `Grant(Grantee grantee, Permission permission)` Constructs a new `Grant` object using the specified grantee and permission objects.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Grantee` | `getGrantee()` Gets the grantee being granted a permission by this grant.
    `Permission` | `getPermission()` Gets the permission being granted to the grantee by this grant.
    `int` | `hashCode()`
    `java.lang.String` | `toString()`

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

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

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

    - #### Grant

          public Grant(Grantee grantee,
               Permission permission)

      Constructs a new `Grant` object using the specified grantee and permission objects.
      パラメータ:
        `grantee` - The grantee being granted a permission by this grant.
        `permission` - The permission being granted to the grantee by this grant.

  - ### メソッドの詳細

    - #### getGrantee

          public Grantee getGrantee()

      Gets the grantee being granted a permission by this grant.
      戻り値:
        The grantee being granted a permission by this grant.
      関連項目:
        `getPermission()`

    - #### getPermission

          public Permission getPermission()

      Gets the permission being granted to the grantee by this grant.
      戻り値:
        The permission being granted to the grantee by this grant.
      関連項目:
        `getGrantee()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`