public static interface Listener.Builder extends CopyableBuilder<Listener.Builder,Listener>
Modifier and Type | Method and Description |
---|---|
Listener.Builder |
certificates(Certificate... certificates)
The SSL server certificate.
|
Listener.Builder |
certificates(Collection<Certificate> certificates)
The SSL server certificate.
|
Listener.Builder |
defaultActions(Action... defaultActions)
The default actions for the listener.
|
Listener.Builder |
defaultActions(Collection<Action> defaultActions)
The default actions for the listener.
|
Listener.Builder |
listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
|
Listener.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
Listener.Builder |
port(Integer port)
The port on which the load balancer is listening.
|
Listener.Builder |
protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
|
Listener.Builder |
protocol(String protocol)
The protocol for connections from clients to the load balancer.
|
Listener.Builder |
sslPolicy(String sslPolicy)
The security policy that defines which ciphers and protocols are supported.
|
copy
apply, build
Listener.Builder listenerArn(String listenerArn)
The Amazon Resource Name (ARN) of the listener.
listenerArn
- The Amazon Resource Name (ARN) of the listener.Listener.Builder loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.Listener.Builder port(Integer port)
The port on which the load balancer is listening.
port
- The port on which the load balancer is listening.Listener.Builder protocol(String protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
,
ProtocolEnum
Listener.Builder protocol(ProtocolEnum protocol)
The protocol for connections from clients to the load balancer.
protocol
- The protocol for connections from clients to the load balancer.ProtocolEnum
,
ProtocolEnum
Listener.Builder certificates(Collection<Certificate> certificates)
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
certificates
- The SSL server certificate. You must provide a certificate if the protocol is HTTPS.Listener.Builder certificates(Certificate... certificates)
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
certificates
- The SSL server certificate. You must provide a certificate if the protocol is HTTPS.Listener.Builder sslPolicy(String sslPolicy)
The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
sslPolicy
- The security policy that defines which ciphers and protocols are supported. The default is the current
predefined security policy.Listener.Builder defaultActions(Collection<Action> defaultActions)
The default actions for the listener.
defaultActions
- The default actions for the listener.Listener.Builder defaultActions(Action... defaultActions)
The default actions for the listener.
defaultActions
- The default actions for the listener.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.