public void setVpcConfig(VpcConfig vpcConfig) {
        this.vpcConfig = vpcConfig;
    }
<p>
For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets
in the VPC. When you connect a function to a VPC, it can access resources and the internet only through that VPC.
For more information, see <a
href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function to
access resources in a VPC</a>.
</p>

@param vpcConfig
       For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and
       subnets in the VPC. When you connect a function to a VPC, it can access resources and the internet only
       through that VPC. For more information, see <a
       href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">Configuring a Lambda function
       to access resources in a VPC</a>.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/CreateFunctionRequest.java