@Stability(value=Experimental) public static final class NetworkLoadBalancerProps.Builder extends Object implements software.amazon.jsii.Builder<NetworkLoadBalancerProps>
NetworkLoadBalancerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NetworkLoadBalancerProps |
build()
Builds the configured instance.
|
NetworkLoadBalancerProps.Builder |
crossZoneEnabled(Boolean crossZoneEnabled)
Sets the value of
NetworkLoadBalancerProps.getCrossZoneEnabled() |
NetworkLoadBalancerProps.Builder |
deletionProtection(Boolean deletionProtection)
Sets the value of
BaseLoadBalancerProps.getDeletionProtection() |
NetworkLoadBalancerProps.Builder |
internetFacing(Boolean internetFacing)
Sets the value of
BaseLoadBalancerProps.getInternetFacing() |
NetworkLoadBalancerProps.Builder |
loadBalancerName(String loadBalancerName)
Sets the value of
BaseLoadBalancerProps.getLoadBalancerName() |
NetworkLoadBalancerProps.Builder |
vpc(IVpc vpc)
Sets the value of
BaseLoadBalancerProps.getVpc() |
NetworkLoadBalancerProps.Builder |
vpcSubnets(SubnetSelection vpcSubnets)
Sets the value of
BaseLoadBalancerProps.getVpcSubnets() |
@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder crossZoneEnabled(Boolean crossZoneEnabled)
NetworkLoadBalancerProps.getCrossZoneEnabled()crossZoneEnabled - Indicates whether cross-zone load balancing is enabled.this@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder vpc(IVpc vpc)
BaseLoadBalancerProps.getVpc()vpc - The VPC network to place the load balancer in. This parameter is required.this@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder deletionProtection(Boolean deletionProtection)
BaseLoadBalancerProps.getDeletionProtection()deletionProtection - Indicates whether deletion protection is enabled.this@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder internetFacing(Boolean internetFacing)
BaseLoadBalancerProps.getInternetFacing()internetFacing - Whether the load balancer has an internet-routable address.this@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder loadBalancerName(String loadBalancerName)
BaseLoadBalancerProps.getLoadBalancerName()loadBalancerName - Name of the load balancer.this@Stability(value=Experimental) public NetworkLoadBalancerProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
BaseLoadBalancerProps.getVpcSubnets()vpcSubnets - Which subnets place the load balancer in.this@Stability(value=Experimental) public NetworkLoadBalancerProps build()
build in interface software.amazon.jsii.Builder<NetworkLoadBalancerProps>NetworkLoadBalancerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.