com.amazonaws.services.elasticbeanstalk.model

## クラス Listener

- java.lang.Object
- - com.amazonaws.services.elasticbeanstalk.model.Listener

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

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

  Describes the properties of a Listener for the LoadBalancer.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Integer` | `getPort()` The port that is used by the Listener.
    `java.lang.String` | `getProtocol()` The protocol that is used by the Listener.
    `int` | `hashCode()`
    `void` | `setPort(java.lang.Integer port)` The port that is used by the Listener.
    `void` | `setProtocol(java.lang.String protocol)` The protocol that is used by the Listener.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Listener` | `withPort(java.lang.Integer port)` The port that is used by the Listener.
    `Listener` | `withProtocol(java.lang.String protocol)` The protocol that is used by the Listener.

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

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

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

    - #### Listener

          public Listener()

  - ### メソッドの詳細

    - #### getProtocol

          public java.lang.String getProtocol()

      The protocol that is used by the Listener.
      戻り値:
        The protocol that is used by the Listener.

    - #### setProtocol

          public void setProtocol(java.lang.String protocol)

      The protocol that is used by the Listener.
      パラメータ:
        `protocol` - The protocol that is used by the Listener.

    - #### withProtocol

          public Listener withProtocol(java.lang.String protocol)

      The protocol that is used by the Listener.

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

      パラメータ:
        `protocol` - The protocol that is used by the Listener.

    - #### getPort

          public java.lang.Integer getPort()

      The port that is used by the Listener.
      戻り値:
        The port that is used by the Listener.

    - #### setPort

          public void setPort(java.lang.Integer port)

      The port that is used by the Listener.
      パラメータ:
        `port` - The port that is used by the Listener.

    - #### withPort

          public Listener withPort(java.lang.Integer port)

      The port that is used by the Listener.

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

      パラメータ:
        `port` - The port that is used by the Listener.

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