public S3Location withUri(String uri) {
        setUri(uri);
        return this;
    }
<p>
The location's URI. For example, <code>s3://my-bucket/chunk-processor/</code>.
</p>

@param uri
       The location's URI. For example, <code>s3://my-bucket/chunk-processor/</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/S3Location.java