public AwsS3ObjectDetails withVersionId(String versionId) {
        setVersionId(versionId);
        return this;
    }
<p>
The version of the object.
</p>

@param versionId
       The version of the object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsS3ObjectDetails.java