com.amazonaws.services.cloudfront.model

## クラス CloudFrontOriginAccessIdentity

- java.lang.Object
- - com.amazonaws.services.cloudfront.model.CloudFrontOriginAccessIdentity

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

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

  CloudFront origin access identity.

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

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

    コンストラクタ
    コンストラクタと説明
    `CloudFrontOriginAccessIdentity()` Default constructor for a new CloudFrontOriginAccessIdentity object.
    `CloudFrontOriginAccessIdentity(java.lang.String id, java.lang.String s3CanonicalUserId)` Constructs a new CloudFrontOriginAccessIdentity object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `CloudFrontOriginAccessIdentityConfig` | `getCloudFrontOriginAccessIdentityConfig()` The current configuration information for the identity.
    `java.lang.String` | `getId()` The ID for the origin access identity.
    `java.lang.String` | `getS3CanonicalUserId()` The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
    `int` | `hashCode()`
    `void` | `setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)` The current configuration information for the identity.
    `void` | `setId(java.lang.String id)` The ID for the origin access identity.
    `void` | `setS3CanonicalUserId(java.lang.String s3CanonicalUserId)` The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CloudFrontOriginAccessIdentity` | `withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)` The current configuration information for the identity.
    `CloudFrontOriginAccessIdentity` | `withId(java.lang.String id)` The ID for the origin access identity.
    `CloudFrontOriginAccessIdentity` | `withS3CanonicalUserId(java.lang.String s3CanonicalUserId)` The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

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

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

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

    - #### CloudFrontOriginAccessIdentity

          public CloudFrontOriginAccessIdentity()

      Default constructor for a new CloudFrontOriginAccessIdentity object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### CloudFrontOriginAccessIdentity

          public CloudFrontOriginAccessIdentity(java.lang.String id,
                                        java.lang.String s3CanonicalUserId)

      Constructs a new CloudFrontOriginAccessIdentity object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `id` - The ID for the origin access identity. For example: E74FTE3AJFJ256A.
        `s3CanonicalUserId` - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

  - ### メソッドの詳細

    - #### getId

          public java.lang.String getId()

      The ID for the origin access identity. For example: E74FTE3AJFJ256A.
      戻り値:
        The ID for the origin access identity. For example: E74FTE3AJFJ256A.

    - #### setId

          public void setId(java.lang.String id)

      The ID for the origin access identity. For example: E74FTE3AJFJ256A.
      パラメータ:
        `id` - The ID for the origin access identity. For example: E74FTE3AJFJ256A.

    - #### withId

          public CloudFrontOriginAccessIdentity withId(java.lang.String id)

      The ID for the origin access identity. For example: E74FTE3AJFJ256A.

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

      パラメータ:
        `id` - The ID for the origin access identity. For example: E74FTE3AJFJ256A.

    - #### getS3CanonicalUserId

          public java.lang.String getS3CanonicalUserId()

      The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
      戻り値:
        The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

    - #### setS3CanonicalUserId

          public void setS3CanonicalUserId(java.lang.String s3CanonicalUserId)

      The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.
      パラメータ:
        `s3CanonicalUserId` - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

    - #### withS3CanonicalUserId

          public CloudFrontOriginAccessIdentity withS3CanonicalUserId(java.lang.String s3CanonicalUserId)

      The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

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

      パラメータ:
        `s3CanonicalUserId` - The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

    - #### getCloudFrontOriginAccessIdentityConfig

          public CloudFrontOriginAccessIdentityConfig getCloudFrontOriginAccessIdentityConfig()

      The current configuration information for the identity.
      戻り値:
        The current configuration information for the identity.

    - #### setCloudFrontOriginAccessIdentityConfig

          public void setCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)

      The current configuration information for the identity.
      パラメータ:
        `cloudFrontOriginAccessIdentityConfig` - The current configuration information for the identity.

    - #### withCloudFrontOriginAccessIdentityConfig

          public CloudFrontOriginAccessIdentity withCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig cloudFrontOriginAccessIdentityConfig)

      The current configuration information for the identity.

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

      パラメータ:
        `cloudFrontOriginAccessIdentityConfig` - The current configuration information for the identity.

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