public String getSubnetId() {
        return this.subnetId;
    }
<p>
The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.
</p>

@return The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute
        instance.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CreateNotebookInstanceRequest.java