|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.Listener
public class Listener
The Listener data type.
Constructor Summary | |
---|---|
Listener()
Default constructor for a new Listener object. |
|
Listener(String protocol,
Integer loadBalancerPort,
Integer instancePort)
Constructs a new Listener object. |
Method Summary | |
---|---|
Integer |
getInstancePort()
Specifies the TCP port on which the instance server is listening. |
Integer |
getLoadBalancerPort()
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
String |
getProtocol()
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
String |
getSSLCertificateId()
The ID of the SSL certificate chain to use. |
void |
setInstancePort(Integer instancePort)
Specifies the TCP port on which the instance server is listening. |
void |
setLoadBalancerPort(Integer loadBalancerPort)
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
void |
setProtocol(String protocol)
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
void |
setSSLCertificateId(String sSLCertificateId)
The ID of the SSL certificate chain to use. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Listener |
withInstancePort(Integer instancePort)
Specifies the TCP port on which the instance server is listening. |
Listener |
withLoadBalancerPort(Integer loadBalancerPort)
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
Listener |
withProtocol(String protocol)
Specifies the LoadBalancer transport protocol to use for routing - TCP or HTTP. |
Listener |
withSSLCertificateId(String sSLCertificateId)
The ID of the SSL certificate chain to use. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Listener()
public Listener(String protocol, Integer loadBalancerPort, Integer instancePort)
protocol
- Specifies the LoadBalancer transport protocol to use
for routing - TCP or HTTP. This property cannot be modified for the
life of the LoadBalancer.loadBalancerPort
- Specifies the LoadBalancer transport protocol
to use for routing - TCP or HTTP. This property cannot be modified for
the life of the LoadBalancer.instancePort
- Specifies the TCP port on which the instance
server is listening. This property cannot be modified for the life of
the LoadBalancer.Method Detail |
---|
public String getProtocol()
public void setProtocol(String protocol)
protocol
- Specifies the LoadBalancer transport protocol to use for routing - TCP
or HTTP. This property cannot be modified for the life of the
LoadBalancer.public Listener withProtocol(String protocol)
Returns a reference to this object so that method calls can be chained together.
protocol
- Specifies the LoadBalancer transport protocol to use for routing - TCP
or HTTP. This property cannot be modified for the life of the
LoadBalancer.
public Integer getLoadBalancerPort()
public void setLoadBalancerPort(Integer loadBalancerPort)
loadBalancerPort
- Specifies the LoadBalancer transport protocol to use for routing - TCP
or HTTP. This property cannot be modified for the life of the
LoadBalancer.public Listener withLoadBalancerPort(Integer loadBalancerPort)
Returns a reference to this object so that method calls can be chained together.
loadBalancerPort
- Specifies the LoadBalancer transport protocol to use for routing - TCP
or HTTP. This property cannot be modified for the life of the
LoadBalancer.
public Integer getInstancePort()
Constraints:
Range: 1 - 65535
public void setInstancePort(Integer instancePort)
Constraints:
Range: 1 - 65535
instancePort
- Specifies the TCP port on which the instance server is listening. This
property cannot be modified for the life of the LoadBalancer.public Listener withInstancePort(Integer instancePort)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 65535
instancePort
- Specifies the TCP port on which the instance server is listening. This
property cannot be modified for the life of the LoadBalancer.
public String getSSLCertificateId()
public void setSSLCertificateId(String sSLCertificateId)
sSLCertificateId
- The ID of the SSL certificate chain to use. For more information on
SSL certificates, see
Managing Keys and Certificates in the AWS Identity and Access
Management documentation.public Listener withSSLCertificateId(String sSLCertificateId)
Returns a reference to this object so that method calls can be chained together.
sSLCertificateId
- The ID of the SSL certificate chain to use. For more information on
SSL certificates, see
Managing Keys and Certificates in the AWS Identity and Access
Management documentation.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |