com.amazonaws.services.s3.model

## クラス EmailAddressGrantee

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

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

      public class EmailAddressGrantee
      extends java.lang.Object
      implements Grantee

  Represents an e-mail grantee. An e-mail grantee is a grantee identified by their e-mail address and authenticated by an Amazon system.

  E-mail grants are internally converted to the canonical user representation when creating the ACL. If the grantee changes their e-mail address, it will not affect existing Amazon S3 permissions.

  Adding a grantee by e-mail address only works if exactly one Amazon account corresponds to the specified e-mail address. If multiple Amazon accounts are associated with the e-mail address, an `AmbiguousGrantByEmail` error message is returned. This happens rarely, but usually occurs if a user created an Amazon account in the past, forgotten the password, and created another Amazon account using the same e-mail address. If this occurs, the user should contact Amazon customer service to have the accounts merged. Alernatively, grant user access specifying the canonical user representation.

  関連項目:
    `EmailAddressGrantee(String)`

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

    コンストラクタ
    コンストラクタと説明
    `EmailAddressGrantee(java.lang.String emailAddress)` Constructs a new `EmailAddressGrantee` object with the given email address.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getIdentifier()` Gets the grantee's e-mail address.
    `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` | `setIdentifier(java.lang.String emailAddress)` Set the e-mail address as the grantee's ID.
    `java.lang.String` | `toString()`

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

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

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

    - #### EmailAddressGrantee

          public EmailAddressGrantee(java.lang.String emailAddress)

      Constructs a new `EmailAddressGrantee` object with the given email address.
      パラメータ:
        `emailAddress` - The e-mail address used to identify the e-mail grantee.

  - ### メソッドの詳細

    - #### 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 emailAddress)

      Set the e-mail address as the grantee's ID.
      定義:
        `setIdentifier` インタフェース内 `Grantee`
      パラメータ:
        `emailAddress` - The e-mail address used to identify the e-mail grantee.
      関連項目:
        `getIdentifier()`

    - #### getIdentifier

          public java.lang.String getIdentifier()

      Gets the grantee's e-mail address.
      定義:
        `getIdentifier` インタフェース内 `Grantee`
      戻り値:
        The identifier for this grantee.
      関連項目:
        `EmailAddressGrantee#setIdentifier(string)`

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