public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
Sets the id of the version to be restored.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java