public ResourcesAffected withS3Object(S3Object s3Object) {
        setS3Object(s3Object);
        return this;
    }
<p>
The details of the S3 object that the finding applies to.
</p>

@param s3Object
       The details of the S3 object that the finding applies to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/ResourcesAffected.java