public HyperParameterTrainingJobDefinition withVpcConfig(VpcConfig vpcConfig) {
        setVpcConfig(vpcConfig);
        return this;
    }
<p>
The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> object
that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches to connect
to. Control access to and from your training container by configuring the VPC. For more information, see <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training Jobs by Using an Amazon
Virtual Private Cloud</a>.
</p>

@param vpcConfig
       The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a>
       object that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches
       to connect to. Control access to and from your training container by configuring the VPC. For more
       information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html">Protect Training
       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/HyperParameterTrainingJobDefinition.java