public CreateNotebookInstanceRequest withVolumeSizeInGB(Integer volumeSizeInGB) {
        setVolumeSizeInGB(volumeSizeInGB);
        return this;
    }
<p>
The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
</p>

@param volumeSizeInGB
       The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.
@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/CreateNotebookInstanceRequest.java