Interface Listener.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Listener.Builder,
,Listener> SdkBuilder<Listener.Builder,
,Listener> SdkPojo
- Enclosing class:
Listener
-
Method Summary
Modifier and TypeMethodDescriptionalpnPolicy
(String... alpnPolicy) [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.alpnPolicy
(Collection<String> alpnPolicy) [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.certificates
(Collection<Certificate> certificates) [HTTPS or TLS listener] The default certificate for the listener.certificates
(Consumer<Certificate.Builder>... certificates) [HTTPS or TLS listener] The default certificate for the listener.certificates
(Certificate... certificates) [HTTPS or TLS listener] The default certificate for the listener.defaultActions
(Collection<Action> defaultActions) The default actions for the listener.defaultActions
(Consumer<Action.Builder>... defaultActions) The default actions for the listener.defaultActions
(Action... defaultActions) The default actions for the listener.listenerArn
(String listenerArn) The Amazon Resource Name (ARN) of the listener.loadBalancerArn
(String loadBalancerArn) The Amazon Resource Name (ARN) of the load balancer.default Listener.Builder
mutualAuthentication
(Consumer<MutualAuthenticationAttributes.Builder> mutualAuthentication) The mutual authentication configuration information.mutualAuthentication
(MutualAuthenticationAttributes mutualAuthentication) The mutual authentication configuration information.The port on which the load balancer is listening.The protocol for connections from clients to the load balancer.protocol
(ProtocolEnum protocol) The protocol for connections from clients to the load balancer.[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
listenerArn
The Amazon Resource Name (ARN) of the listener.
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerArn
The Amazon Resource Name (ARN) of the load balancer.
- Parameters:
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port on which the load balancer is listening.
- Parameters:
port
- The port on which the load balancer is listening.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol for connections from clients to the load balancer.
- Parameters:
protocol
- The protocol for connections from clients to the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol for connections from clients to the load balancer.
- Parameters:
protocol
- The protocol for connections from clients to the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificates
[HTTPS or TLS listener] The default certificate for the listener.
- Parameters:
certificates
- [HTTPS or TLS listener] The default certificate for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificates
[HTTPS or TLS listener] The default certificate for the listener.
- Parameters:
certificates
- [HTTPS or TLS listener] The default certificate for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificates(List<Certificate>)
.- Parameters:
certificates
- a consumer that will call methods onCertificate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sslPolicy
[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.
- Parameters:
sslPolicy
- [HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultActions
The default actions for the listener.
- Parameters:
defaultActions
- The default actions for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultActions
The default actions for the listener.
- Parameters:
defaultActions
- The default actions for the listener.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultActions(List<Action>)
.- Parameters:
defaultActions
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alpnPolicy
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
- Parameters:
alpnPolicy
- [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alpnPolicy
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
- Parameters:
alpnPolicy
- [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualAuthentication
The mutual authentication configuration information.
- Parameters:
mutualAuthentication
- The mutual authentication configuration information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualAuthentication
default Listener.Builder mutualAuthentication(Consumer<MutualAuthenticationAttributes.Builder> mutualAuthentication) The mutual authentication configuration information.
This is a convenience method that creates an instance of theMutualAuthenticationAttributes.Builder
avoiding the need to create one manually viaMutualAuthenticationAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomutualAuthentication(MutualAuthenticationAttributes)
.- Parameters:
mutualAuthentication
- a consumer that will call methods onMutualAuthenticationAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-