|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.elasticbeanstalk.model.Listener
public class Listener
Describes the properties of a Listener for the LoadBalancer.
| Constructor Summary | |
|---|---|
Listener()
|
|
| Method Summary | |
|---|---|
Integer |
getPort()
The port that is used by the Listener. |
String |
getProtocol()
The protocol that is used by the Listener. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Listener()
| Method Detail |
|---|
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()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||