public InstanceConfig withVolumeSizeInGb(Integer volumeSizeInGb) {
        setVolumeSizeInGb(volumeSizeInGb);
        return this;
    }
<p>
The size of the storage volume, in GB, that user wants to provision.
</p>

@param volumeSizeInGb
       The size of the storage volume, in GB, that user wants to provision.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/InstanceConfig.java