@Stability(value=Stable) public static final class ApplicationListenerProps.Builder extends Object implements software.amazon.jsii.Builder<ApplicationListenerProps>
ApplicationListenerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationListenerProps |
build()
Builds the configured instance.
|
ApplicationListenerProps.Builder |
certificate(ICertificate certificate)
Sets the value of
ApplicationListenerProps.getCertificate() |
ApplicationListenerProps.Builder |
name(String name)
Sets the value of
ApplicationListenerProps.getName() |
ApplicationListenerProps.Builder |
port(Number port)
Sets the value of
ApplicationListenerProps.getPort() |
ApplicationListenerProps.Builder |
protocol(ApplicationProtocol protocol)
Sets the value of
ApplicationListenerProps.getProtocol() |
ApplicationListenerProps.Builder |
sslPolicy(SslPolicy sslPolicy)
Sets the value of
ApplicationListenerProps.getSslPolicy() |
@Stability(value=Stable) public ApplicationListenerProps.Builder name(String name)
ApplicationListenerProps.getName()name - Name of the listener. This parameter is required.this@Stability(value=Stable) public ApplicationListenerProps.Builder certificate(ICertificate certificate)
ApplicationListenerProps.getCertificate()certificate - Certificate Manager certificate to associate with the load balancer.
Setting this option will set the load balancer protocol to HTTPS.this@Stability(value=Stable) public ApplicationListenerProps.Builder port(Number port)
ApplicationListenerProps.getPort()port - The port on which the listener listens for requests.this@Stability(value=Stable) public ApplicationListenerProps.Builder protocol(ApplicationProtocol protocol)
ApplicationListenerProps.getProtocol()protocol - The protocol for connections from clients to the load balancer.
The load balancer port is determined from the protocol (port 80 for
HTTP, port 443 for HTTPS). A domain name and zone must be also be
specified if using HTTPS.this@Stability(value=Stable) public ApplicationListenerProps.Builder sslPolicy(SslPolicy sslPolicy)
ApplicationListenerProps.getSslPolicy()sslPolicy - The security policy that defines which ciphers and protocols are supported by the ALB Listener.this@Stability(value=Stable) public ApplicationListenerProps build()
build in interface software.amazon.jsii.Builder<ApplicationListenerProps>ApplicationListenerPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.