com.amazonaws.services.s3.model

## クラス CanonicalGrantee

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

- すべての実装されたインタフェース:
    Grantee

      public class CanonicalGrantee
      extends java.lang.Object
      implements Grantee

  Represents a grantee identified by their canonical Amazon ID. The canonical Amazon ID can be thought of as an Amazon-internal ID specific to a user. For example, Amazon can map a grantee identified by an email address to a canonical ID.

  Canonical grantees may have an associated display name, which is a human-friendly name that Amazon has linked to the canonical ID (eg. the user's login name).

  関連項目:
    `CanonicalGrantee(String)`

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

    コンストラクタ
    コンストラクタと説明
    `CanonicalGrantee(java.lang.String identifier)` Constructs a new `CanonicalGrantee` object with the given canonical ID.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDisplayName()` Returns the display name for this grantee.
    `java.lang.String` | `getIdentifier()` Returns the unique identifier for this grantee.
    `java.lang.String` | `getTypeIdentifier()` Returns the identifier for the type of this grant, to be used when specifying grants in the header of a request.
    `int` | `hashCode()`
    `void` | `setDisplayName(java.lang.String displayName)` Sets the display name for this grantee.
    `void` | `setIdentifier(java.lang.String id)` Sets the unique identifier for this grantee.

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

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

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

    - #### CanonicalGrantee

          public CanonicalGrantee(java.lang.String identifier)

      Constructs a new `CanonicalGrantee` object with the given canonical ID.
      パラメータ:
        `identifier` -

  - ### メソッドの詳細

    - #### getTypeIdentifier

          public java.lang.String getTypeIdentifier()

      インタフェースからコピーされた説明: `Grantee`
      Returns the identifier for the type of this grant, to be used when specifying grants in the header of a request.
      定義:
        `getTypeIdentifier` インタフェース内 `Grantee`

    - #### setIdentifier

          public void setIdentifier(java.lang.String id)

      Sets the unique identifier for this grantee.

      定義:
        `setIdentifier` インタフェース内 `Grantee`
      パラメータ:
        `id` - The identifier for this grantee.
      関連項目:
        `getIdentifier()`

    - #### getIdentifier

          public java.lang.String getIdentifier()

      Returns the unique identifier for this grantee.

      定義:
        `getIdentifier` インタフェース内 `Grantee`
      戻り値:
        The identifier for this grantee.
      関連項目:
        `setIdentifier(String)`

    - #### setDisplayName

          public void setDisplayName(java.lang.String displayName)

      Sets the display name for this grantee.

      パラメータ:
        `displayName` -
      関連項目:
        `getDisplayName()`

    - #### getDisplayName

          public java.lang.String getDisplayName()

      Returns the display name for this grantee.

      戻り値:
        The display name for this grantee.
      関連項目:
        `setDisplayName(String)`

    - #### equals

          public boolean equals(java.lang.Object obj)

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

    - #### hashCode

          public int hashCode()

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