com.amazonaws.services.elastictranscoder.model

## クラス Permission

- java.lang.Object
- - com.amazonaws.services.elastictranscoder.model.Permission

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

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

  The `Permission` structure.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getAccess()` The permission that you want to give to the AWS user that is listed in Grantee.
    `java.lang.String` | `getGrantee()` The AWS user or group that you want to have access to transcoded files and playlists.
    `java.lang.String` | `getGranteeType()` The type of value that appears in the Grantee object: `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
    `int` | `hashCode()`
    `void` | `setAccess(java.util.Collection<java.lang.String> access)` The permission that you want to give to the AWS user that is listed in Grantee.
    `void` | `setGrantee(java.lang.String grantee)` The AWS user or group that you want to have access to transcoded files and playlists.
    `void` | `setGranteeType(java.lang.String granteeType)` The type of value that appears in the Grantee object: `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Permission` | `withAccess(java.util.Collection<java.lang.String> access)` The permission that you want to give to the AWS user that is listed in Grantee.
    `Permission` | `withAccess(java.lang.String... access)` The permission that you want to give to the AWS user that is listed in Grantee.
    `Permission` | `withGrantee(java.lang.String grantee)` The AWS user or group that you want to have access to transcoded files and playlists.
    `Permission` | `withGranteeType(java.lang.String granteeType)` The type of value that appears in the Grantee object: `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.

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

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

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

    - #### Permission

          public Permission()

  - ### メソッドの詳細

    - #### getGranteeType

          public java.lang.String getGranteeType()

      The type of value that appears in the Grantee object:
      - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
      - `Email`: The registered email address of an AWS account.
      - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

      Constraints:
      Pattern: (^Canonical$)|(^Email$)|(^Group$)

      戻り値:
        The type of value that appears in the Grantee object:
        - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
        - `Email`: The registered email address of an AWS account.
        - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

    - #### setGranteeType

          public void setGranteeType(java.lang.String granteeType)

      The type of value that appears in the Grantee object:
      - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
      - `Email`: The registered email address of an AWS account.
      - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

      Constraints:
      Pattern: (^Canonical$)|(^Email$)|(^Group$)

      パラメータ:
        `granteeType` - The type of value that appears in the Grantee object:
        - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
        - `Email`: The registered email address of an AWS account.
        - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

    - #### withGranteeType

          public Permission withGranteeType(java.lang.String granteeType)

      The type of value that appears in the Grantee object:
      - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
      - `Email`: The registered email address of an AWS account.
      - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

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

      Constraints:
      Pattern: (^Canonical$)|(^Email$)|(^Group$)

      パラメータ:
        `granteeType` - The type of value that appears in the Grantee object:
        - `Canonical`: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution. A canonical user ID is not the same as an AWS account number.
        - `Email`: The registered email address of an AWS account.
        - `Group`: One of the following predefined Amazon S3 groups: `AllUsers`, `AuthenticatedUsers`, or `LogDelivery`.

    - #### getGrantee

          public java.lang.String getGrantee()

      The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

      Constraints:
      Length: 1 - 255

      戻り値:
        The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

    - #### setGrantee

          public void setGrantee(java.lang.String grantee)

      The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

      Constraints:
      Length: 1 - 255

      パラメータ:
        `grantee` - The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

    - #### withGrantee

          public Permission withGrantee(java.lang.String grantee)

      The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

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

      Constraints:
      Length: 1 - 255

      パラメータ:
        `grantee` - The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.

    - #### getAccess

          public java.util.List<java.lang.String> getAccess()

      The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
      - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

      Constraints:
      Length: 0 - 30

      戻り値:
        The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
        - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

    - #### setAccess

          public void setAccess(java.util.Collection<java.lang.String> access)

      The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
      - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

      Constraints:
      Length: 0 - 30

      パラメータ:
        `access` - The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
        - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

    - #### withAccess

          public Permission withAccess(java.lang.String... access)

      The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
      - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

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

      Constraints:
      Length: 0 - 30

      パラメータ:
        `access` - The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
        - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

    - #### withAccess

          public Permission withAccess(java.util.Collection<java.lang.String> access)

      The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
      - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
      - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

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

      Constraints:
      Length: 0 - 30

      パラメータ:
        `access` - The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
        - `READ`: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `READ_ACP`: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `WRITE_ACP`: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
        - `FULL_CONTROL`: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.

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