public S3Object withVersion(String version) {
        setVersion(version);
        return this;
    }
<p>
If the bucket is versioning enabled, you can specify the object version.
</p>

@param version
       If the bucket is versioning enabled, you can specify the object version.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/S3Object.java