public CreateModelRequest withVpcConfig(VpcConfig vpcConfig) {
        setVpcConfig(vpcConfig);
        return this;
    }
<p>
A <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> object
that specifies the VPC that you want your model to connect to. Control access to and from your model container by
configuring the VPC. <code>VpcConfig</code> is used in hosting services and in batch transform. For more
information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by
Using an Amazon Virtual Private Cloud</a> and <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html">Protect Data in Batch Transform Jobs by
Using an Amazon Virtual Private Cloud</a>.
</p>

@param vpcConfig
       A <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a>
       object that specifies the VPC that you want your model to connect to. Control access to and from your
       model container by configuring the VPC. <code>VpcConfig</code> is used in hosting services and in batch
       transform. For more information, see <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html">Protect Endpoints by Using an Amazon
       Virtual Private Cloud</a> and <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html">Protect Data in Batch Transform Jobs
       by Using an Amazon Virtual Private Cloud</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateModelRequest.java