Class CfnFunctionPropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnFunctionPropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnFunctionPropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.VpcConfigProperty>
A builder for
CfnFunctionPropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv6AllowedForDualStack(Boolean ipv6AllowedForDualStack) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getIpv6AllowedForDualStack()ipv6AllowedForDualStack(IResolvable ipv6AllowedForDualStack) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getIpv6AllowedForDualStack()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getSecurityGroupIds()Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6AllowedForDualStack
@Stability(Stable) public CfnFunctionPropsMixin.VpcConfigProperty.Builder ipv6AllowedForDualStack(Boolean ipv6AllowedForDualStack) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getIpv6AllowedForDualStack()- Parameters:
ipv6AllowedForDualStack- Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.- Returns:
this
-
ipv6AllowedForDualStack
@Stability(Stable) public CfnFunctionPropsMixin.VpcConfigProperty.Builder ipv6AllowedForDualStack(IResolvable ipv6AllowedForDualStack) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getIpv6AllowedForDualStack()- Parameters:
ipv6AllowedForDualStack- Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnFunctionPropsMixin.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of VPC security group IDs.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnFunctionPropsMixin.VpcConfigProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnFunctionPropsMixin.VpcConfigProperty.getSubnetIds()- Parameters:
subnetIds- A list of VPC subnet IDs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-