Class Listener
java.lang.Object
com.amazonaws.services.elasticbeanstalk.model.Listener
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the properties of a Listener for the LoadBalancer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getPort()
The port that is used by the Listener.The protocol that is used by the Listener.int
hashCode()
void
The port that is used by the Listener.void
setProtocol
(String protocol) The protocol that is used by the Listener.toString()
Returns a string representation of this object; useful for testing and debugging.The port that is used by the Listener.withProtocol
(String protocol) The protocol that is used by the Listener.
-
Constructor Details
-
Listener
public Listener()
-
-
Method Details
-
setProtocol
The protocol that is used by the Listener.
- Parameters:
protocol
- The protocol that is used by the Listener.
-
getProtocol
The protocol that is used by the Listener.
- Returns:
- The protocol that is used by the Listener.
-
withProtocol
The protocol that is used by the Listener.
- Parameters:
protocol
- The protocol that is used by the Listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
The port that is used by the Listener.
- Parameters:
port
- The port that is used by the Listener.
-
getPort
The port that is used by the Listener.
- Returns:
- The port that is used by the Listener.
-
withPort
The port that is used by the Listener.
- Parameters:
port
- The port that is used by the Listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-