CopyableBuilder<Listener.Builder,Listener>, SdkBuilder<Listener.Builder,Listener>public static interface Listener.Builder extends CopyableBuilder<Listener.Builder,Listener>
| Modifier and Type | Method | Description |
|---|---|---|
Listener.Builder |
certificates(Collection<Certificate> certificates) |
The SSL server certificate.
|
Listener.Builder |
certificates(Certificate... certificates) |
The SSL server certificate.
|
Listener.Builder |
defaultActions(Collection<Action> defaultActions) |
The default actions for the listener.
|
Listener.Builder |
defaultActions(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(String protocol) |
The protocol for connections from clients to the load balancer.
|
Listener.Builder |
protocol(ProtocolEnum 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.
|
copyapply, buildListener.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.ProtocolEnumListener.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.ProtocolEnumListener.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.
NOTE: This method appends the values to the existing list (if any). Use
#setCertificates(java.util.Collection) or #withCertificates(java.util.Collection) if you want
to override the existing values.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setDefaultActions(java.util.Collection) or #withDefaultActions(java.util.Collection) if you
want to override the existing values.
defaultActions - The default actions for the listener.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.