public S3ObjectDoc withUri(String uri) {
        setUri(uri);
        return this;
    }
<p>
The file location of the S3 wrapper object.
</p>

@param uri
       The file location of the S3 wrapper object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/S3ObjectDoc.java