@Stability(value=Experimental) public static final class LoadBalancerListener.Builder extends Object implements software.amazon.jsii.Builder<LoadBalancerListener>
LoadBalancerListener| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public LoadBalancerListener.Builder externalPort(Number externalPort)
LoadBalancerListener.getExternalPort()externalPort - External listening port. This parameter is required.this@Stability(value=Experimental) public LoadBalancerListener.Builder allowConnectionsFrom(List<? extends IConnectable> allowConnectionsFrom)
LoadBalancerListener.getAllowConnectionsFrom()allowConnectionsFrom - Allow connections to the load balancer from the given set of connection peers.
By default, connections will be allowed from anywhere. Set this to an empty list
to deny connections, or supply a custom list of peers to allow connections from
(IP ranges or security groups).this@Stability(value=Experimental) public LoadBalancerListener.Builder externalProtocol(LoadBalancingProtocol externalProtocol)
LoadBalancerListener.getExternalProtocol()externalProtocol - What public protocol to use for load balancing.
Either 'tcp', 'ssl', 'http' or 'https'.
May be omitted if the external port is either 80 or 443.
this@Stability(value=Experimental) public LoadBalancerListener.Builder internalPort(Number internalPort)
LoadBalancerListener.getInternalPort()internalPort - Instance listening port.
Same as the externalPort if not specified.this@Stability(value=Experimental) public LoadBalancerListener.Builder internalProtocol(LoadBalancingProtocol internalProtocol)
LoadBalancerListener.getInternalProtocol()internalProtocol - What public protocol to use for load balancing.
Either 'tcp', 'ssl', 'http' or 'https'.
May be omitted if the internal port is either 80 or 443.
The instance protocol is 'tcp' if the front-end protocol is 'tcp' or 'ssl', the instance protocol is 'http' if the front-end protocol is 'https'.
this@Stability(value=Experimental) public LoadBalancerListener.Builder policyNames(List<String> policyNames)
LoadBalancerListener.getPolicyNames()policyNames - SSL policy names.this@Stability(value=Experimental) public LoadBalancerListener.Builder sslCertificateArn(String sslCertificateArn)
LoadBalancerListener.getSslCertificateArn()sslCertificateArn - the ARN of the SSL certificate.this@Stability(value=Experimental) public LoadBalancerListener build()
build in interface software.amazon.jsii.Builder<LoadBalancerListener>LoadBalancerListenerNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.