Class CfnNetworkConnector.ConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnNetworkConnector.ConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkConnector.ConfigProperty>
- Enclosing interface:
CfnNetworkConnector.ConfigProperty
@Stability(Stable)
public static final class CfnNetworkConnector.ConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkConnector.ConfigProperty>
A builder for
CfnNetworkConnector.ConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.vpcEgressConfiguration(IResolvable vpcEgressConfiguration) Sets the value ofCfnNetworkConnector.ConfigProperty.getVpcEgressConfiguration()vpcEgressConfiguration(CfnNetworkConnector.VpcEgressConfigurationProperty vpcEgressConfiguration) Sets the value ofCfnNetworkConnector.ConfigProperty.getVpcEgressConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcEgressConfiguration
@Stability(Stable) public CfnNetworkConnector.ConfigProperty.Builder vpcEgressConfiguration(IResolvable vpcEgressConfiguration) Sets the value ofCfnNetworkConnector.ConfigProperty.getVpcEgressConfiguration()- Parameters:
vpcEgressConfiguration- The VPC egress configuration for the network connector. This parameter is required. Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.- Returns:
this
-
vpcEgressConfiguration
@Stability(Stable) public CfnNetworkConnector.ConfigProperty.Builder vpcEgressConfiguration(CfnNetworkConnector.VpcEgressConfigurationProperty vpcEgressConfiguration) Sets the value ofCfnNetworkConnector.ConfigProperty.getVpcEgressConfiguration()- Parameters:
vpcEgressConfiguration- The VPC egress configuration for the network connector. This parameter is required. Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkConnector.ConfigProperty>- Returns:
- a new instance of
CfnNetworkConnector.ConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-