public class Listener extends Object implements Serializable
Describes the properties of a Listener for the LoadBalancer.
| Constructor and Description |
|---|
Listener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getPort()
The port that is used by the Listener.
|
String |
getProtocol()
The protocol that is used by the Listener.
|
int |
hashCode() |
void |
setPort(Integer port)
The port that is used by the Listener.
|
void |
setProtocol(String protocol)
The protocol that is used by the Listener.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Listener |
withPort(Integer port)
The port that is used by the Listener.
|
Listener |
withProtocol(String protocol)
The protocol that is used by the Listener.
|
public String getProtocol()
public void setProtocol(String protocol)
protocol - The protocol that is used by the Listener.public Listener withProtocol(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 Integer getPort()
public void setPort(Integer port)
port - The port that is used by the Listener.public Listener withPort(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 String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.