public UpdateDataRepositoryAssociationRequest withS3(S3DataRepositoryConfiguration s3) {
        setS3(s3);
        return this;
    }
<p>
The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data
repository association. The configuration defines which file events (new, changed, or deleted files or
directories) are automatically imported from the linked data repository to the file system or automatically
exported from the file system to the data repository.
</p>

@param s3
       The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data
       repository association. The configuration defines which file events (new, changed, or deleted files or
       directories) are automatically imported from the linked data repository to the file system or
       automatically exported from the file system to the data repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/UpdateDataRepositoryAssociationRequest.java