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.
|
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
protocol - The protocol that is used by the Listener.public Listener withProtocol(java.lang.String protocol)
Returns a reference to this object so that method calls can be chained together.
protocol - The protocol that is used by the Listener.public java.lang.Integer getPort()
public void setPort(java.lang.Integer port)
port - The port that is used by the Listener.public Listener withPort(java.lang.Integer port)
Returns a reference to this object so that method calls can be chained together.
port - The port that is used by the Listener.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object