public void setVersionId(String versionId) {
        this.versionId = versionId;
    }
<p>
The version ID of the resource. This is an optional field and is filled for action on document version.
</p>

@param versionId
       The version ID of the resource. This is an optional field and is filled for action on document version.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/ResourceMetadata.java