Class CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty>
- Enclosing interface:
CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty
@Stability(Stable)
public static final class CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty>
A builder for
CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.loadBalancerArn
(String loadBalancerArn) Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getPort()
Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getProtocol()
Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loadBalancerArn
@Stability(Stable) public CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder loadBalancerArn(String loadBalancerArn) - Parameters:
loadBalancerArn
- The ARN of the load balancer.- Returns:
this
-
port
@Stability(Stable) public CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder port(Number port) Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getPort()
- Parameters:
port
- The IP port number.- Returns:
this
-
protocol
@Stability(Stable) public CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder protocol(String protocol) Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getProtocol()
- Parameters:
protocol
- The IP protocol.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.getSubnetIds()
- Parameters:
subnetIds
- The IDs of the subnets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty>
- Returns:
- a new instance of
CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-