public File withVersionId(String versionId) {
        setVersionId(versionId);
        return this;
    }
<p>
The version ID to identify a specific version of the Amazon S3 object that contains your data.
</p>

@param versionId
       The version ID to identify a specific version of the Amazon S3 object that contains your data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/File.java