com.amazonaws.services.cloudfront.model

## クラス CookiePreference

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

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

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

  A complex type that specifies the cookie preferences associated with this cache behavior.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getForward()` Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior.
    `CookieNames` | `getWhitelistedNames()` A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.
    `int` | `hashCode()`
    `void` | `setForward(ItemSelection forward)` Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior.
    `void` | `setForward(java.lang.String forward)` Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior.
    `void` | `setWhitelistedNames(CookieNames whitelistedNames)` A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CookiePreference` | `withForward(ItemSelection forward)` Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior.
    `CookiePreference` | `withForward(java.lang.String forward)` Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior.
    `CookiePreference` | `withWhitelistedNames(CookieNames whitelistedNames)` A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

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

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

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

    - #### CookiePreference

          public CookiePreference()

  - ### メソッドの詳細

    - #### getForward

          public java.lang.String getForward()

      Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

      Constraints:
      Allowed Values: none, whitelist, all

      戻り値:
        Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
      関連項目:
        `ItemSelection`

    - #### setForward

          public void setForward(java.lang.String forward)

      Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

      Constraints:
      Allowed Values: none, whitelist, all

      パラメータ:
        `forward` - Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
      関連項目:
        `ItemSelection`

    - #### withForward

          public CookiePreference withForward(java.lang.String forward)

      Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

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

      Constraints:
      Allowed Values: none, whitelist, all

      パラメータ:
        `forward` - Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
      関連項目:
        `ItemSelection`

    - #### setForward

          public void setForward(ItemSelection forward)

      Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

      Constraints:
      Allowed Values: none, whitelist, all

      パラメータ:
        `forward` - Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
      関連項目:
        `ItemSelection`

    - #### withForward

          public CookiePreference withForward(ItemSelection forward)

      Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.

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

      Constraints:
      Allowed Values: none, whitelist, all

      パラメータ:
        `forward` - Use this element to specify whether you want CloudFront to forward cookies to the origin that is associated with this cache behavior. You can specify all, none or whitelist. If you choose All, CloudFront forwards all cookies regardless of how many your application uses.
      関連項目:
        `ItemSelection`

    - #### getWhitelistedNames

          public CookieNames getWhitelistedNames()

      A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.
      戻り値:
        A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

    - #### setWhitelistedNames

          public void setWhitelistedNames(CookieNames whitelistedNames)

      A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.
      パラメータ:
        `whitelistedNames` - A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

    - #### withWhitelistedNames

          public CookiePreference withWhitelistedNames(CookieNames whitelistedNames)

      A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

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

      パラメータ:
        `whitelistedNames` - A complex type that specifies the whitelisted cookies, if any, that you want CloudFront to forward to your origin that is associated with this cache behavior.

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