public static interface Listener.Builder extends SdkPojo, CopyableBuilder<Listener.Builder,Listener>
| Modifier and Type | Method and Description |
|---|---|
Listener.Builder |
alpnPolicy(Collection<String> alpnPolicy)
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
Listener.Builder |
alpnPolicy(String... alpnPolicy)
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
Listener.Builder |
certificates(Certificate... certificates)
[HTTPS or TLS listener] The default certificate for the listener.
|
Listener.Builder |
certificates(Collection<Certificate> certificates)
[HTTPS or TLS listener] The default certificate for the listener.
|
Listener.Builder |
certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS or TLS listener] The default certificate for the listener.
|
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)
[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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)
[HTTPS or TLS listener] The default certificate for the listener.
certificates - [HTTPS or TLS listener] The default certificate for the listener.Listener.Builder certificates(Certificate... certificates)
[HTTPS or TLS listener] The default certificate for the listener.
certificates - [HTTPS or TLS listener] The default certificate for the listener.Listener.Builder certificates(Consumer<Certificate.Builder>... certificates)
[HTTPS or TLS listener] The default certificate for the listener.
This is a convenience method that creates an instance of theCertificate.Builder avoiding the need to
create one manually via
Certificate.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #certificates(List.
certificates - a consumer that will call methods on
Certificate.Builder#certificates(java.util.Collection) Listener.Builder sslPolicy(String sslPolicy)
[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.
sslPolicy - [HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.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 method that creates an instance of theAction.Builder avoiding the need to
create one manually via Action.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #defaultActions(List.
defaultActions - a consumer that will call methods on
Action.Builder#defaultActions(java.util.Collection) Listener.Builder alpnPolicy(Collection<String> alpnPolicy)
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
alpnPolicy - [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.Listener.Builder alpnPolicy(String... alpnPolicy)
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
alpnPolicy - [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.Copyright © 2022. All rights reserved.