public RetrievalResultLocation withS3Location(RetrievalResultS3Location s3Location) {
        setS3Location(s3Location);
        return this;
    }
<p>
The S3 data source location.
</p>

@param s3Location
       The S3 data source location.
@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/RetrievalResultLocation.java