com.amazonaws.services.elasticloadbalancing.model

## クラス ListenerDescription

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

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

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

  The ListenerDescription data type.

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

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

    コンストラクタ
    コンストラクタと説明
    `ListenerDescription()` Default constructor for a new ListenerDescription object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `Listener` | `getListener()` The Listener data type.
    `java.util.List<java.lang.String>` | `getPolicyNames()` A list of policies enabled for this listener.
    `int` | `hashCode()`
    `void` | `setListener(Listener listener)` The Listener data type.
    `void` | `setPolicyNames(java.util.Collection<java.lang.String> policyNames)` A list of policies enabled for this listener.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ListenerDescription` | `withListener(Listener listener)` The Listener data type.
    `ListenerDescription` | `withPolicyNames(java.util.Collection<java.lang.String> policyNames)` A list of policies enabled for this listener.
    `ListenerDescription` | `withPolicyNames(java.lang.String... policyNames)` A list of policies enabled for this listener.

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

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

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

    - #### ListenerDescription

          public ListenerDescription()

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

  - ### メソッドの詳細

    - #### getListener

          public Listener getListener()

      The Listener data type.
      戻り値:
        The Listener data type.

    - #### setListener

          public void setListener(Listener listener)

      The Listener data type.
      パラメータ:
        `listener` - The Listener data type.

    - #### withListener

          public ListenerDescription withListener(Listener listener)

      The Listener data type.

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

      パラメータ:
        `listener` - The Listener data type.

    - #### getPolicyNames

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

      A list of policies enabled for this listener. An empty list indicates that no policies are enabled.
      戻り値:
        A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

    - #### setPolicyNames

          public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)

      A list of policies enabled for this listener. An empty list indicates that no policies are enabled.
      パラメータ:
        `policyNames` - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

    - #### withPolicyNames

          public ListenerDescription withPolicyNames(java.lang.String... policyNames)

      A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

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

      パラメータ:
        `policyNames` - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

    - #### withPolicyNames

          public ListenerDescription withPolicyNames(java.util.Collection<java.lang.String> policyNames)

      A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

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

      パラメータ:
        `policyNames` - A list of policies enabled for this listener. An empty list indicates that no policies are enabled.

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