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 |
certificates(Consumer<Certificate.Builder>... 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 |
defaultActions(Consumer<Action.Builder>... 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.
|
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.ProtocolEnum,
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.ProtocolEnum,
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.
certificates - The SSL server certificate. You must provide a certificate if the protocol is HTTPS.Listener.Builder certificates(Consumer<Certificate.Builder>... certificates)
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #certificates(List) .certificates - a consumer that will call methods on List.Builder #certificates(List) 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.Listener.Builder defaultActions(Consumer<Action.Builder>... defaultActions)
The default actions for the listener.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #defaultActions(List) .defaultActions - a consumer that will call methods on List.Builder #defaultActions(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.