com.amazonaws.services.cloudfront.model

## クラス CloudFrontOriginAccessIdentityConfig

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

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

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

  Origin access identity configuration.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCallerReference()` A unique number that ensures the request can't be replayed.
    `java.lang.String` | `getComment()` Any comments you want to include about the origin access identity.
    `int` | `hashCode()`
    `void` | `setCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `void` | `setComment(java.lang.String comment)` Any comments you want to include about the origin access identity.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CloudFrontOriginAccessIdentityConfig` | `withCallerReference(java.lang.String callerReference)` A unique number that ensures the request can't be replayed.
    `CloudFrontOriginAccessIdentityConfig` | `withComment(java.lang.String comment)` Any comments you want to include about the origin access identity.

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

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

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

    - #### CloudFrontOriginAccessIdentityConfig

          public CloudFrontOriginAccessIdentityConfig()

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

    - #### CloudFrontOriginAccessIdentityConfig

          public CloudFrontOriginAccessIdentityConfig(java.lang.String callerReference)

      Constructs a new CloudFrontOriginAccessIdentityConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

  - ### メソッドの詳細

    - #### getCallerReference

          public java.lang.String getCallerReference()

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
      戻り値:
        A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

    - #### setCallerReference

          public void setCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

    - #### withCallerReference

          public CloudFrontOriginAccessIdentityConfig withCallerReference(java.lang.String callerReference)

      A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

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

      パラメータ:
        `callerReference` - A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value you already sent in a previous request to create an identity, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

    - #### getComment

          public java.lang.String getComment()

      Any comments you want to include about the origin access identity.
      戻り値:
        Any comments you want to include about the origin access identity.

    - #### setComment

          public void setComment(java.lang.String comment)

      Any comments you want to include about the origin access identity.
      パラメータ:
        `comment` - Any comments you want to include about the origin access identity.

    - #### withComment

          public CloudFrontOriginAccessIdentityConfig withComment(java.lang.String comment)

      Any comments you want to include about the origin access identity.

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

      パラメータ:
        `comment` - Any comments you want to include about the origin access 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`