public RestoreObjectRequest withVersionId(String versionId) {
        this.versionId = versionId;
        return this;
    }
Sets the id of the version to be restored and returns a reference to
this object for method chaining.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/RestoreObjectRequest.java