public static interface Listener.Builder extends CopyableBuilder<Listener.Builder,Listener>
Modifier and Type | Method and Description |
---|---|
Listener.Builder |
instancePort(Integer instancePort)
The port on which the instance is listening.
|
Listener.Builder |
instanceProtocol(String instanceProtocol)
The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
|
Listener.Builder |
loadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening.
|
Listener.Builder |
protocol(String protocol)
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
|
Listener.Builder |
sslCertificateId(String sslCertificateId)
The Amazon Resource Name (ARN) of the server certificate.
|
copy
applyMutation, build
Listener.Builder protocol(String protocol)
The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.
protocol
- The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL.Listener.Builder loadBalancerPort(Integer loadBalancerPort)
The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.
loadBalancerPort
- The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range
1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587,
1024-65535.Listener.Builder instanceProtocol(String instanceProtocol)
The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol
must be at the same
protocol.
If there is another listener with the same InstancePort
whose InstanceProtocol
is
secure, (HTTPS or SSL), the listener's InstanceProtocol
must also be secure.
If there is another listener with the same InstancePort
whose InstanceProtocol
is
HTTP or TCP, the listener's InstanceProtocol
must be HTTP or TCP.
instanceProtocol
- The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol
must be at the
same protocol.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is secure, (HTTPS or SSL), the listener's InstanceProtocol
must also be secure.
If there is another listener with the same InstancePort
whose
InstanceProtocol
is HTTP or TCP, the listener's InstanceProtocol
must be
HTTP or TCP.
Listener.Builder instancePort(Integer instancePort)
The port on which the instance is listening.
instancePort
- The port on which the instance is listening.Listener.Builder sslCertificateId(String sslCertificateId)
The Amazon Resource Name (ARN) of the server certificate.
sslCertificateId
- The Amazon Resource Name (ARN) of the server certificate.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.