|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getInstancePort()
Specifies the TCP port on which the instance server is listening. |
String |
getInstanceProtocol()
Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. |
Integer |
getLoadBalancerPort()
Specifies the external LoadBalancer port number. |
String |
getProtocol()
Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. |
String |
getSSLCertificateId()
The ARN string of the server certificate. |
int |
hashCode()
|
void |
setInstancePort(Integer instancePort)
Specifies the TCP port on which the instance server is listening. |
void |
setInstanceProtocol(String instanceProtocol)
Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. |
void |
setLoadBalancerPort(Integer loadBalancerPort)
Specifies the external LoadBalancer port number. |
void |
setProtocol(String protocol)
Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. |
void |
setSSLCertificateId(String sSLCertificateId)
The ARN string of the server certificate. |
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 |
withInstanceProtocol(String instanceProtocol)
Specifies the protocol to use for routing traffic to back-end instances - HTTP, HTTPS, TCP, or SSL. |
Listener |
withLoadBalancerPort(Integer loadBalancerPort)
Specifies the external LoadBalancer port number. |
Listener |
withProtocol(String protocol)
Specifies the LoadBalancer transport protocol to use for routing - HTTP, HTTPS, TCP or SSL. |
Listener |
withSSLCertificateId(String sSLCertificateId)
The ARN string of the server certificate. |
Methods inherited from class java.lang.Object |
---|
getClass, 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 - HTTP, HTTPS, TCP or SSL. This property cannot be
modified for the life of the LoadBalancer.loadBalancerPort
- Specifies the external LoadBalancer port
number. 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 -
HTTP, HTTPS, TCP or SSL. 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 -
HTTP, HTTPS, TCP or SSL. This property cannot be modified for the life
of the LoadBalancer.
public Integer getLoadBalancerPort()
public void setLoadBalancerPort(Integer loadBalancerPort)
loadBalancerPort
- Specifies the external LoadBalancer port number. 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 external LoadBalancer port number. This property cannot
be modified for the life of the LoadBalancer.
public String getInstanceProtocol()
InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP.
InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP. public void setInstanceProtocol(String instanceProtocol)
InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP.
instanceProtocol
- Specifies the protocol to use for routing traffic to back-end
instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified
for the life of the LoadBalancer. InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP. public Listener withInstanceProtocol(String instanceProtocol)
InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP. Returns a reference to this object so that method calls can be chained together.
instanceProtocol
- Specifies the protocol to use for routing traffic to back-end
instances - HTTP, HTTPS, TCP, or SSL. This property cannot be modified
for the life of the LoadBalancer. InstanceProtocol
has to be at the same
protocol layer, i.e., HTTP or HTTPS. Likewise, if the front-end
protocol is TCP or SSL, InstanceProtocol has to be TCP or SSL. InstancePort
whose InstanceProtocol
is
secure, i.e., HTTPS or SSL, the listener's
InstanceProtocol
has to be secure, i.e., HTTPS or SSL. If
there is another listener with the same InstancePort
whose InstanceProtocol
is HTTP or TCP, the listener's
InstanceProtocol
must be either HTTP or TCP. 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 ARN string of the server certificate. To get the ARN of the server
certificate, call the AWS Identity and Access Management UploadServerCertificate
API.public Listener withSSLCertificateId(String sSLCertificateId)
Returns a reference to this object so that method calls can be chained together.
sSLCertificateId
- The ARN string of the server certificate. To get the ARN of the server
certificate, call the AWS Identity and Access Management UploadServerCertificate
API.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |