Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class Listener

java.lang.Object
  extended by com.amazonaws.services.elasticbeanstalk.model.Listener
All Implemented Interfaces:
java.io.Serializable

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

Describes the properties of a Listener for the LoadBalancer.

See Also:
Serialized Form

Constructor Summary
Listener()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Listener

public Listener()
Method Detail

getProtocol

public java.lang.String getProtocol()
The protocol that is used by the Listener.

Returns:
The protocol that is used by the Listener.

setProtocol

public void setProtocol(java.lang.String protocol)
The protocol that is used by the Listener.

Parameters:
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.

Parameters:
protocol - The protocol that is used by the Listener.
Returns:
A reference to this updated object so that method calls can be chained together.

getPort

public java.lang.Integer getPort()
The port that is used by the Listener.

Returns:
The port that is used by the Listener.

setPort

public void setPort(java.lang.Integer port)
The port that is used by the Listener.

Parameters:
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.

Parameters:
port - The port that is used by the Listener.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.