com.amazonaws.services.elasticloadbalancing.model

## クラス AppCookieStickinessPolicy

- java.lang.Object
- - com.amazonaws.services.elasticloadbalancing.model.AppCookieStickinessPolicy

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

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

  The AppCookieStickinessPolicy data type.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCookieName()` The name of the application cookie used for stickiness.
    `java.lang.String` | `getPolicyName()` The mnemonic name for the policy being created.
    `int` | `hashCode()`
    `void` | `setCookieName(java.lang.String cookieName)` The name of the application cookie used for stickiness.
    `void` | `setPolicyName(java.lang.String policyName)` The mnemonic name for the policy being created.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AppCookieStickinessPolicy` | `withCookieName(java.lang.String cookieName)` The name of the application cookie used for stickiness.
    `AppCookieStickinessPolicy` | `withPolicyName(java.lang.String policyName)` The mnemonic name for the policy being created.

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

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

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

    - #### AppCookieStickinessPolicy

          public AppCookieStickinessPolicy()

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

    - #### AppCookieStickinessPolicy

          public AppCookieStickinessPolicy(java.lang.String policyName,
                                   java.lang.String cookieName)

      Constructs a new AppCookieStickinessPolicy object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `policyName` - The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.
        `cookieName` - The name of the application cookie used for stickiness.

  - ### メソッドの詳細

    - #### getPolicyName

          public java.lang.String getPolicyName()

      The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.
      戻り値:
        The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.

    - #### setPolicyName

          public void setPolicyName(java.lang.String policyName)

      The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.
      パラメータ:
        `policyName` - The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.

    - #### withPolicyName

          public AppCookieStickinessPolicy withPolicyName(java.lang.String policyName)

      The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.

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

      パラメータ:
        `policyName` - The mnemonic name for the policy being created. The name must be unique within a set of policies for this LoadBalancer.

    - #### getCookieName

          public java.lang.String getCookieName()

      The name of the application cookie used for stickiness.
      戻り値:
        The name of the application cookie used for stickiness.

    - #### setCookieName

          public void setCookieName(java.lang.String cookieName)

      The name of the application cookie used for stickiness.
      パラメータ:
        `cookieName` - The name of the application cookie used for stickiness.

    - #### withCookieName

          public AppCookieStickinessPolicy withCookieName(java.lang.String cookieName)

      The name of the application cookie used for stickiness.

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

      パラメータ:
        `cookieName` - The name of the application cookie used for stickiness.

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