com.amazonaws.services.cloudfront.model

## クラス CookieNames

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

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

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

  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.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getItems()` Optional: A complex type that contains whitelisted cookies for this cache behavior.
    `java.lang.Integer` | `getQuantity()` The number of whitelisted cookies for this cache behavior.
    `int` | `hashCode()`
    `void` | `setItems(java.util.Collection<java.lang.String> items)` Optional: A complex type that contains whitelisted cookies for this cache behavior.
    `void` | `setQuantity(java.lang.Integer quantity)` The number of whitelisted cookies for this cache behavior.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CookieNames` | `withItems(java.util.Collection<java.lang.String> items)` Optional: A complex type that contains whitelisted cookies for this cache behavior.
    `CookieNames` | `withItems(java.lang.String... items)` Optional: A complex type that contains whitelisted cookies for this cache behavior.
    `CookieNames` | `withQuantity(java.lang.Integer quantity)` The number of whitelisted cookies for this cache behavior.

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

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

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

    - #### CookieNames

          public CookieNames()

  - ### メソッドの詳細

    - #### getQuantity

          public java.lang.Integer getQuantity()

      The number of whitelisted cookies for this cache behavior.
      戻り値:
        The number of whitelisted cookies for this cache behavior.

    - #### setQuantity

          public void setQuantity(java.lang.Integer quantity)

      The number of whitelisted cookies for this cache behavior.
      パラメータ:
        `quantity` - The number of whitelisted cookies for this cache behavior.

    - #### withQuantity

          public CookieNames withQuantity(java.lang.Integer quantity)

      The number of whitelisted cookies for this cache behavior.

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

      パラメータ:
        `quantity` - The number of whitelisted cookies for this cache behavior.

    - #### getItems

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

      Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.
      戻り値:
        Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

    - #### setItems

          public void setItems(java.util.Collection<java.lang.String> items)

      Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.
      パラメータ:
        `items` - Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

    - #### withItems

          public CookieNames withItems(java.lang.String... items)

      Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

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

      パラメータ:
        `items` - Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

    - #### withItems

          public CookieNames withItems(java.util.Collection<java.lang.String> items)

      Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

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

      パラメータ:
        `items` - Optional: A complex type that contains whitelisted cookies for this cache behavior. If Quantity is 0, you can omit Items.

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