Class CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.loadBalancerArn(String loadBalancerArn) portRanges(List<? extends Object> portRanges) portRanges(IResolvable portRanges)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loadBalancerArn
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder loadBalancerArn(String loadBalancerArn) Sets the value ofCfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.getLoadBalancerArn()- Parameters:
loadBalancerArn- The ARN of the load balancer.- Returns:
this
-
port
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder port(Number port) - Parameters:
port- The IP port number.- Returns:
this
-
portRanges
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder portRanges(IResolvable portRanges) - Parameters:
portRanges- The port ranges.- Returns:
this
-
portRanges
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder portRanges(List<? extends Object> portRanges) - Parameters:
portRanges- The port ranges.- Returns:
this
-
protocol
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder protocol(String protocol) - Parameters:
protocol- The IP protocol.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty.Builder subnetIds(List<String> subnetIds) - Parameters:
subnetIds- The IDs of the subnets. You can specify only one subnet per Availability Zone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty>- Returns:
- a new instance of
CfnVerifiedAccessEndpointPropsMixin.LoadBalancerOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-