@Stability(value=Experimental) public static final class BaseNetworkListenerProps.Builder extends Object implements software.amazon.jsii.Builder<BaseNetworkListenerProps>
BaseNetworkListenerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BaseNetworkListenerProps |
build()
Builds the configured instance.
|
BaseNetworkListenerProps.Builder |
certificates(List<? extends IListenerCertificate> certificates)
Sets the value of
BaseNetworkListenerProps.getCertificates() |
BaseNetworkListenerProps.Builder |
defaultAction(NetworkListenerAction defaultAction)
Sets the value of
BaseNetworkListenerProps.getDefaultAction() |
BaseNetworkListenerProps.Builder |
defaultTargetGroups(List<? extends INetworkTargetGroup> defaultTargetGroups)
Sets the value of
BaseNetworkListenerProps.getDefaultTargetGroups() |
BaseNetworkListenerProps.Builder |
port(Number port)
Sets the value of
BaseNetworkListenerProps.getPort() |
BaseNetworkListenerProps.Builder |
protocol(Protocol protocol)
Sets the value of
BaseNetworkListenerProps.getProtocol() |
BaseNetworkListenerProps.Builder |
sslPolicy(SslPolicy sslPolicy)
Sets the value of
BaseNetworkListenerProps.getSslPolicy() |
@Stability(value=Experimental) public BaseNetworkListenerProps.Builder port(Number port)
BaseNetworkListenerProps.getPort()port - The port on which the listener listens for requests. This parameter is required.this@Stability(value=Experimental) public BaseNetworkListenerProps.Builder certificates(List<? extends IListenerCertificate> certificates)
BaseNetworkListenerProps.getCertificates()certificates - Certificate list of ACM cert ARNs.this@Stability(value=Experimental) public BaseNetworkListenerProps.Builder defaultAction(NetworkListenerAction defaultAction)
BaseNetworkListenerProps.getDefaultAction()defaultAction - Default action to take for requests to this listener.
This allows full control of the default Action of the load balancer,
including weighted forwarding. See the NetworkListenerAction class for
all options.
Cannot be specified together with defaultTargetGroups.
this@Stability(value=Experimental) public BaseNetworkListenerProps.Builder defaultTargetGroups(List<? extends INetworkTargetGroup> defaultTargetGroups)
BaseNetworkListenerProps.getDefaultTargetGroups()defaultTargetGroups - Default target groups to load balance to.
All target groups will be load balanced to with equal weight and without
stickiness. For a more complex configuration than that, use
either defaultAction or addAction().
Cannot be specified together with defaultAction.
this@Stability(value=Experimental) public BaseNetworkListenerProps.Builder protocol(Protocol protocol)
BaseNetworkListenerProps.getProtocol()protocol - Protocol for listener, expects TCP, TLS, UDP, or TCP_UDP.this@Stability(value=Experimental) public BaseNetworkListenerProps.Builder sslPolicy(SslPolicy sslPolicy)
BaseNetworkListenerProps.getSslPolicy()sslPolicy - SSL Policy.this@Stability(value=Experimental) public BaseNetworkListenerProps build()
build in interface software.amazon.jsii.Builder<BaseNetworkListenerProps>BaseNetworkListenerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.