public static final class ApplicationLoadBalancerProps.Builder
extends java.lang.Object
ApplicationLoadBalancerProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApplicationLoadBalancerProps |
build()
Builds the configured instance.
|
ApplicationLoadBalancerProps.Builder |
domainName(java.lang.String domainName)
Sets the value of
ApplicationLoadBalancerProps.getDomainName() |
ApplicationLoadBalancerProps.Builder |
domainZone(IHostedZone domainZone)
Sets the value of
ApplicationLoadBalancerProps.getDomainZone() |
ApplicationLoadBalancerProps.Builder |
listeners(java.util.List<? extends ApplicationListenerProps> listeners)
Sets the value of
ApplicationLoadBalancerProps.getListeners() |
ApplicationLoadBalancerProps.Builder |
name(java.lang.String name)
Sets the value of
ApplicationLoadBalancerProps.getName() |
ApplicationLoadBalancerProps.Builder |
publicLoadBalancer(java.lang.Boolean publicLoadBalancer)
Sets the value of
ApplicationLoadBalancerProps.getPublicLoadBalancer() |
public ApplicationLoadBalancerProps.Builder listeners(java.util.List<? extends ApplicationListenerProps> listeners)
ApplicationLoadBalancerProps.getListeners()
listeners
- Listeners (at least one listener) attached to this load balancer. This parameter is required.this
public ApplicationLoadBalancerProps.Builder name(java.lang.String name)
ApplicationLoadBalancerProps.getName()
name
- Name of the load balancer. This parameter is required.this
public ApplicationLoadBalancerProps.Builder domainName(java.lang.String domainName)
ApplicationLoadBalancerProps.getDomainName()
domainName
- The domain name for the service, e.g. "api.example.com.".this
public ApplicationLoadBalancerProps.Builder domainZone(IHostedZone domainZone)
ApplicationLoadBalancerProps.getDomainZone()
domainZone
- The Route53 hosted zone for the domain, e.g. "example.com.".this
public ApplicationLoadBalancerProps.Builder publicLoadBalancer(java.lang.Boolean publicLoadBalancer)
ApplicationLoadBalancerProps.getPublicLoadBalancer()
publicLoadBalancer
- Determines whether the Load Balancer will be internet-facing.this
public ApplicationLoadBalancerProps build()
ApplicationLoadBalancerProps
java.lang.NullPointerException
- if any required attribute was not provided