public void setSubnets(java.util.Collection<String> subnets) {
        if (subnets == null) {
            this.subnets = null;
            return;
        }

        this.subnets = new java.util.ArrayList<String>(subnets);
    }
<p>
The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in
Amazon S3.
</p>

@param subnets
       The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model
       in Amazon S3.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/NeoVpcConfig.java