public String getRevertToVersionId() {
        return this.revertToVersionId;
    }
<p>
Specifies the previous image set version ID to revert the current image set back to.
</p>
<note>
<p>
You must provide either <code>revertToVersionId</code> or <code>DICOMUpdates</code> in your request. A
<code>ValidationException</code> error is thrown if both parameters are provided at the same time.
</p>
</note>

@return Specifies the previous image set version ID to revert the current image set back to.</p> <note>
        <p>
        You must provide either <code>revertToVersionId</code> or <code>DICOMUpdates</code> in your request. A
        <code>ValidationException</code> error is thrown if both parameters are provided at the same time.
        </p>
aws-java-sdk-medicalimaging/src/main/java/com/amazonaws/services/medicalimaging/model/MetadataUpdates.java